mirror of
https://github.com/Microsoft/vscode
synced 2024-09-19 18:48:00 +00:00
22 lines
542 B
TypeScript
22 lines
542 B
TypeScript
// Type definitions for through
|
|
// Project: https://github.com/dominictarr/through
|
|
// Definitions by: Andrew Gaspar <https://github.com/AndrewGaspar/>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
declare module "through" {
|
|
import stream = require("stream");
|
|
|
|
function through(write?: (data:any) => void,
|
|
end?: () => void,
|
|
opts?: {
|
|
autoDestroy: boolean;
|
|
}): through.ThroughStream;
|
|
|
|
module through {
|
|
export interface ThroughStream extends stream.Transform {
|
|
autoDestroy: boolean;
|
|
}
|
|
}
|
|
|
|
export = through;
|
|
} |