diff --git a/tsconfig.browser.json b/tsconfig.browser.json index 5bf398c..d5a4ef6 100644 --- a/tsconfig.browser.json +++ b/tsconfig.browser.json @@ -3,6 +3,10 @@ /* Settings used for anything browser related (dashboard and graphics). */ "extends": "@vue/tsconfig/tsconfig.dom.json", "compilerOptions": { + "baseUrl": ".", + "typeRoots": [ + "./node_modules/@types" + ], "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.browser.tsbuildinfo", }, "include": [ diff --git a/tsconfig.extension.json b/tsconfig.extension.json index 9549f54..e8a4a5d 100644 --- a/tsconfig.extension.json +++ b/tsconfig.extension.json @@ -2,6 +2,10 @@ /* Settings used for anything extension related. */ "extends": "@tsconfig/node22/tsconfig.json", "compilerOptions": { + "baseUrl": ".", + "typeRoots": [ + "./node_modules/@types" + ], "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.extension.tsbuildinfo", "rootDir": "./src/extension", "outDir": "./extension", diff --git a/tsconfig.vite.json b/tsconfig.vite.json index 1c76eb4..fa353d0 100644 --- a/tsconfig.vite.json +++ b/tsconfig.vite.json @@ -3,6 +3,10 @@ /* They are only used for the vite.config.ts file. */ "extends": "@tsconfig/node22/tsconfig.json", "compilerOptions": { + "baseUrl": ".", + "typeRoots": [ + "./node_modules/@types" + ], "noEmit": true, "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vite.tsbuildinfo", "module": "ESNext", @@ -14,4 +18,4 @@ "include": [ "./vite.config.ts" ] -} \ No newline at end of file +}