node: now modules depend on stream.* when possible

This commit is contained in:
Paul Loyd
2014-04-28 18:32:37 +02:00
committed by Bart van der Schoor
parent d100d104c6
commit c52e7bdf63
8 changed files with 57 additions and 54 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
/// <reference path="../node/node.d.ts" />
declare module "through" {
import Stream = require("stream");
import stream = require("stream");
function through(write?: (data) => void,
end?: () => void,
@@ -15,7 +15,7 @@ declare module "through" {
}): through.ThroughStream;
module through {
export interface ThroughStream extends ReadWriteStream {
export interface ThroughStream extends stream.Transform {
autoDestroy: boolean;
}
}