vscode/build/lib/typings/stream.d.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
261 B
TypeScript
Raw Normal View History

2024-11-15 06:29:18 +00:00
declare namespace NodeJS {
type ComposeFnParam = (source: any) => void;
interface ReadWriteStream {
compose<T extends NodeJS.ReadableStream>(
stream: T | ComposeFnParam | Iterable<T> | AsyncIterable<T>,
options?: { signal: AbortSignal },
): T;
}
}