Fix typescript

This commit is contained in:
syuilo
2017-08-10 22:06:47 +09:00
parent d48e7780dc
commit 84d0ad12d1
3 changed files with 11 additions and 4 deletions

View File

@@ -140,7 +140,9 @@ function spawnWorkers(onComplete: Function) {
}
// On all workers started
progress.on('complete', onComplete);
progress.on('complete', () => {
onComplete();
});
}
// Listen new workers