Fix typescript
This commit is contained in:
parent
d48e7780dc
commit
84d0ad12d1
3 changed files with 11 additions and 4 deletions
|
|
@ -140,7 +140,9 @@ function spawnWorkers(onComplete: Function) {
|
|||
}
|
||||
|
||||
// On all workers started
|
||||
progress.on('complete', onComplete);
|
||||
progress.on('complete', () => {
|
||||
onComplete();
|
||||
});
|
||||
}
|
||||
|
||||
// Listen new workers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue