vscode/build/lib/typings/stream.d.ts
mxwj 018ff30de3
Some checks failed
Monaco Editor checks / Monaco Editor checks (push) Has been cancelled
Initial commit
2024-11-15 14:29:18 +08:00

10 lines
261 B
TypeScript

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;
}
}