diff --git a/packages/desktop/src/nodejs-worker.ts b/packages/desktop/src/nodejs-worker.ts index 8347b8ff3..207a7470f 100644 --- a/packages/desktop/src/nodejs-worker.ts +++ b/packages/desktop/src/nodejs-worker.ts @@ -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 }); }); } diff --git a/packages/desktop/tsconfig.json b/packages/desktop/tsconfig.json index 92e178534..a7b325bd1 100644 --- a/packages/desktop/tsconfig.json +++ b/packages/desktop/tsconfig.json @@ -10,7 +10,7 @@ "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "Bundler", + "moduleResolution": "Node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, diff --git a/packages/mountable/tsconfig.json b/packages/mountable/tsconfig.json index e981996df..91d7e9089 100644 --- a/packages/mountable/tsconfig.json +++ b/packages/mountable/tsconfig.json @@ -14,7 +14,7 @@ "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "Bundler", + "moduleResolution": "Node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, diff --git a/packages/sharing/tsconfig.json b/packages/sharing/tsconfig.json index 92e178534..a7b325bd1 100644 --- a/packages/sharing/tsconfig.json +++ b/packages/sharing/tsconfig.json @@ -10,7 +10,7 @@ "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "Bundler", + "moduleResolution": "Node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true,