mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
fix through/through-tests.ts
This commit is contained in:
1 parent
c7908638ff
commit
ba89bd71f2
1 file changed
+3
-1
@@ -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