Skip to content

Commit

Permalink
chore(node): add Readable.from utility
Browse files Browse the repository at this point in the history
Added in v12.3.0 from PR nodejs/node#27660
  • Loading branch information
imcotton committed Jun 11, 2019
1 parent e94ce02 commit 6892488
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/node/stream.d.ts
Expand Up @@ -18,6 +18,7 @@ declare module "stream" {
}

class Readable extends Stream implements NodeJS.ReadableStream {
static from (iterable: IterableIterator<any> | AsyncIterableIterator<any>, opts?: ReadableOptions): NodeJS.ReadableStream;
readable: boolean;
readonly readableHighWaterMark: number;
readonly readableLength: number;
Expand Down

0 comments on commit 6892488

Please sign in to comment.