diff --git a/config/tsconfig.types.json b/config/tsconfig.types.json index 7a6200f3..7f95a7ff 100644 --- a/config/tsconfig.types.json +++ b/config/tsconfig.types.json @@ -4,6 +4,7 @@ "compilerOptions": { "module": "es2022", "outDir": "../dist/types", + "rootDir": "../src", "declaration": true, "emitDeclarationOnly": true, "declarationMap": false, diff --git a/package.json b/package.json index adb1f7e4..4b337ba0 100644 --- a/package.json +++ b/package.json @@ -106,6 +106,6 @@ "rxdb": "https://github.com/pubkey/rxdb/archive/70ab4c6098f54a8a8198e516c35b2806b366b1fc.tar.gz", "rxjs": "7.8.2", "ts-node": "10.9.2", - "typescript": "5.9.3" + "typescript": "7.0.2" } } diff --git a/tsconfig.json b/tsconfig.json index eb6c2d8d..dfb3ae9a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "target": "es2022", // Search under node_modules for non-relative imports. // https://www.youtube.com/watch?v=H91aqUHn8sE - "moduleResolution": "node", + "moduleResolution": "bundler", // "module": "NodeNext", // Process & infer types from .js files. "allowJs": false,