chore: remove abuse of any in WorkerEventBus

This commit is contained in:
鲁树人
2023-05-18 00:18:22 +01:00
parent 8f071d94c6
commit 7df50c7c75
3 changed files with 46 additions and 28 deletions

View File

@@ -9,7 +9,4 @@ const bus = new WorkerServerBus();
onmessage = bus.onmessage;
bus.addEventHandler(DECRYPTION_WORKER_ACTION_NAME.DECRYPT, workerDecryptHandler);
bus.addEventHandler(DECRYPTION_WORKER_ACTION_NAME.VERSION, async () => {
return getSDKVersion();
});
bus.addEventHandler(DECRYPTION_WORKER_ACTION_NAME.VERSION, getSDKVersion);