diff --git a/packages/framework/dashboard/tsconfig.json b/packages/framework/dashboard/tsconfig.json index 1b33d576d..bb1d545f8 100644 --- a/packages/framework/dashboard/tsconfig.json +++ b/packages/framework/dashboard/tsconfig.json @@ -5,7 +5,7 @@ "moduleResolution": "Bundler", "lib": ["ES2022", "DOM", "DOM.Iterable"], "jsx": "react-jsx", - "types": ["node"], + "types": ["node", "vite/client"], "strict": true, "exactOptionalPropertyTypes": true, "noUncheckedIndexedAccess": true, @@ -15,8 +15,7 @@ "resolveJsonModule": true, "isolatedModules": true, "verbatimModuleSyntax": true, - "allowImportingTsExtensions": true, - "baseUrl": "." + "allowImportingTsExtensions": true }, "include": ["**/*.ts", "**/*.tsx"], "exclude": ["node_modules", "dist"] diff --git a/packages/the-framework.ai/tsconfig.json b/packages/the-framework.ai/tsconfig.json index 00f4c42bd..83219e177 100644 --- a/packages/the-framework.ai/tsconfig.json +++ b/packages/the-framework.ai/tsconfig.json @@ -5,7 +5,7 @@ "moduleResolution": "Bundler", "lib": ["ES2022", "DOM", "DOM.Iterable"], "jsx": "react-jsx", - "types": ["vike-react"], + "types": ["vike-react", "vite/client"], "strict": true, "exactOptionalPropertyTypes": true, "noUncheckedIndexedAccess": true, diff --git a/tsconfig.base.json b/tsconfig.base.json index 5e79d6687..3d4021705 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -13,6 +13,7 @@ "sourceMap": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, - "skipLibCheck": true + "skipLibCheck": true, + "types": ["node"] } }