diff --git a/packages/node-runtime/src/semantic-index/worker-runtime.test.ts b/packages/node-runtime/src/semantic-index/worker-runtime.test.ts index 83f46e56..9bf25dc0 100644 --- a/packages/node-runtime/src/semantic-index/worker-runtime.test.ts +++ b/packages/node-runtime/src/semantic-index/worker-runtime.test.ts @@ -26,7 +26,7 @@ test('worker runtime lazily creates service and forwards RPC calls', async () => const factory: SemanticIndexWorkerServiceFactory = () => { const service = new FakeSemanticIndexRuntime() services.push(service) - return service as SemanticIndexRuntime + return service as unknown as SemanticIndexRuntime } const runtime = createSemanticIndexWorkerRuntime({ serviceFactory: factory }) diff --git a/tsconfig.web.json b/tsconfig.web.json index 51dc0bc0..ce10a103 100644 --- a/tsconfig.web.json +++ b/tsconfig.web.json @@ -19,6 +19,7 @@ "noUnusedLocals": true, "strictNullChecks": true, "allowJs": true, + "allowImportingTsExtensions": true, "forceConsistentCasingInFileNames": true, "paths": { "@/*": ["src/*"],