Node: fix pipe<T> errors in Stream inheritors (#19395)

This commit is contained in:
Andy
2017-08-28 16:23:28 -07:00
committed by GitHub
parent b009a65d54
commit 0124a24440
5 changed files with 2 additions and 6 deletions

View File

@@ -4979,7 +4979,6 @@ declare module "stream" {
pause(): this;
resume(): this;
isPaused(): boolean;
pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T;
unpipe<T extends NodeJS.WritableStream>(destination?: T): this;
unshift(chunk: any): void;
wrap(oldStream: NodeJS.ReadableStream): Readable;