fix through/through-tests.ts

This commit is contained in:
vvakame
2015-08-29 00:08:12 +09:00
parent c7908638ff
commit ba89bd71f2

View File

@@ -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);