diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 15aea46c9..a8c5d2bc9 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -65,7 +65,7 @@ "prettier-plugin-tailwindcss": "^0.7.2", "tailwindcss": "^4.2.2", "tw-animate-css": "^1.4.0", - "typescript": "^5.8.3", + "typescript": "^6.0.3", "vite": "^8.0.8", "vite-plugin-svgr": "^4.3.0" } @@ -11699,9 +11699,9 @@ } }, "node_modules/typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "devOptional": true, "license": "Apache-2.0", "bin": { diff --git a/frontend/package.json b/frontend/package.json index 29b7a2b26..e7a196fd2 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -76,7 +76,7 @@ "prettier-plugin-tailwindcss": "^0.7.2", "tailwindcss": "^4.2.2", "tw-animate-css": "^1.4.0", - "typescript": "^5.8.3", + "typescript": "^6.0.3", "vite": "^8.0.8", "vite-plugin-svgr": "^4.3.0" } diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index bdcfc498c..c2b499ce3 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -5,18 +5,17 @@ "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/*"] } diff --git a/frontend/tsconfig.node.json b/frontend/tsconfig.node.json index 9d31e2aed..16dfedc6a 100644 --- a/frontend/tsconfig.node.json +++ b/frontend/tsconfig.node.json @@ -2,7 +2,7 @@ "compilerOptions": { "composite": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "allowSyntheticDefaultImports": true }, "include": ["vite.config.ts"]