mirror of
https://github.com/voideditor/void
synced 2026-05-23 09:28:23 +00:00
9 lines
261 B
TypeScript
9 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;
|
|
}
|
|
}
|