Files
vscode/build/lib/typings/stream.d.ts
João Moreno 87e7f8b5e1 replace node-fetch with native fetch (#198408)
* replace node-fetch with native fetch

* fix dep version

* handle terminated error from fetch

* more error handling
2023-11-16 17:29:35 +01: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;
}
}