mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
fix through/through-tests.ts
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/// <reference path="./through.d.ts" />
|
||||
|
||||
import through = require('through');
|
||||
|
||||
var i = 0;
|
||||
@@ -6,4 +8,4 @@ through(
|
||||
this.queue((i++).toString());
|
||||
}, function () {
|
||||
this.queue(null);
|
||||
}, { autoDestroy: true }).pipe(process.stdout);
|
||||
}, { autoDestroy: true }).pipe(process.stdout);
|
||||
|
||||
Reference in New Issue
Block a user