mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
Missing args
This commit is contained in:
@@ -52,12 +52,13 @@ for (const methodName of methodNames) {
|
||||
this._terminateWorker();
|
||||
}, workerTimeout);
|
||||
|
||||
return abortable(signal, this._workerApi![methodName]() as any).finally(
|
||||
() => {
|
||||
done = true;
|
||||
clearTimeout(timeoutId);
|
||||
},
|
||||
);
|
||||
return abortable(
|
||||
signal,
|
||||
this._workerApi as any,
|
||||
).finally(() => {
|
||||
done = true;
|
||||
clearTimeout(timeoutId);
|
||||
});
|
||||
});
|
||||
} as any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user