From ee21e8494b0d1e81971cc1633562c67f430eda31 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Sun, 24 Nov 2013 15:36:02 -0600 Subject: [PATCH] makes ReadableStream the same as stream.ReadableStream by applying the pipe change from commit d0139df89deb691b3a25506e942d41707c8afce8 --- node/node.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node.d.ts b/node/node.d.ts index 0084aa3e3..bcbef2ba1 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -95,7 +95,7 @@ interface ReadableStream extends EventEmitter { pause(): void; resume(): void; destroy(): void; - pipe(destination: WritableStream, options?: { end?: boolean; }): void; + pipe(destination: T, options?: { end?: boolean; }): T; } interface NodeProcess extends EventEmitter {