diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 0997644f..c2b499ce 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -5,22 +5,20 @@ "lib": ["DOM", "DOM.Iterable", "ESNext"], "allowJs": false, "skipLibCheck": true, - "esModuleInterop": false, + "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "resolveJsonModule": true, "types": ["vite-plugin-svgr/client"], "isolatedModules": true, "noEmit": true, "jsx": "react-jsx", - "baseUrl": ".", "paths": { "@/*": ["./src/*"] - }, - "ignoreDeprecations": "6.0" + } }, "include": ["src"], "references": [{ "path": "./tsconfig.node.json" }] diff --git a/frontend/tsconfig.node.json b/frontend/tsconfig.node.json index df041af0..16dfedc6 100644 --- a/frontend/tsconfig.node.json +++ b/frontend/tsconfig.node.json @@ -2,9 +2,8 @@ "compilerOptions": { "composite": true, "module": "ESNext", - "moduleResolution": "Node", - "allowSyntheticDefaultImports": true, - "ignoreDeprecations": "6.0" + "moduleResolution": "Bundler", + "allowSyntheticDefaultImports": true }, "include": ["vite.config.ts"] }