mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 13:15:58 +08:00
Node: fix pipe<T> errors in Stream inheritors (#19395)
This commit is contained in:
1
types/node/index.d.ts
vendored
1
types/node/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user