UNPKG

hunspell-reader

Version:
11 lines 481 B
/// <reference types="node" /> /// <reference types="node" /> import * as stream from 'stream'; export type Streamable = string | Buffer; export type IterableLike<T> = Iterable<T> | IterableIterator<T>; /** * Transform an iterable into a node readable stream. */ export declare function iterableToStream<T extends Streamable>(src: IterableLike<T>, options?: stream.ReadableOptions): stream.Readable; export default iterableToStream; //# sourceMappingURL=iterableToStream.d.ts.map