mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-27 00:15:09 +08:00
Unwrap all lone ambient external modules
This commit is contained in:
25
through/through.d.ts
vendored
25
through/through.d.ts
vendored
@@ -5,20 +5,19 @@
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
declare module "through" {
|
||||
import stream = require("stream");
|
||||
|
||||
function through(write?: (data: any) => void,
|
||||
end?: () => void,
|
||||
opts?: {
|
||||
autoDestroy: boolean;
|
||||
}): through.ThroughStream;
|
||||
import stream = require("stream");
|
||||
|
||||
namespace through {
|
||||
export interface ThroughStream extends stream.Transform {
|
||||
autoDestroy: boolean;
|
||||
}
|
||||
declare function through(write?: (data: any) => void,
|
||||
end?: () => void,
|
||||
opts?: {
|
||||
autoDestroy: boolean;
|
||||
}): through.ThroughStream;
|
||||
|
||||
declare namespace through {
|
||||
export interface ThroughStream extends stream.Transform {
|
||||
autoDestroy: boolean;
|
||||
}
|
||||
|
||||
export = through;
|
||||
}
|
||||
|
||||
export = through;
|
||||
|
||||
Reference in New Issue
Block a user