mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
node: now modules depend on stream.* when possible
This commit is contained in:
committed by
Bart van der Schoor
parent
d100d104c6
commit
c52e7bdf63
Vendored
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user