Skip to content

Commit

Permalink
Fix typing in src/nodejs-worker.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx committed Apr 4, 2024
1 parent bf40c4d commit dbb22e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/desktop/src/nodejs-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class NodeJsWorkerMock {
constructor() {
this.initializePromise = window.nodeJsWorkerAPI.initialize();

window.nodeJsWorkerAPI.onMessage((data) => {
window.nodeJsWorkerAPI.onMessage((data: unknown) => {
this.onmessage && this.onmessage({ data });
});
}
Expand Down

0 comments on commit dbb22e5

Please sign in to comment.