Installation
npm install --save @types/from
Summary
This package contains type definitions for from (https://github.com/dominictarr/from).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/from.
index.d.ts
/// <reference types="node" />
declare var mod: mod.From;
declare namespace mod {
interface From {
(getChunk: (count: number, next: () => any) => any): NodeJS.ReadableStream;
(chunks: any[]): NodeJS.ReadableStream;
emit(type: string, data: any): void;
}
}
export = mod;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/node
Credits
These definitions were written by Bart van der Schoor.