diff --git a/package.json b/package.json index 1e36ffe1cd..12f4ea3bc3 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,7 @@ "storybook": "^7.6.17", "style-loader": "^3.3.3", "tiny-invariant": "^1.3.1", - "typescript": "^5.4.2", + "typescript": "5.7.2", "typescript-coverage-report": "^0.7.0", "vite-plugin-istanbul": "^5.0.0", "vite-plugin-turbosnap": "^1.0.3", diff --git a/tsconfig-common.json b/tsconfig-common.json index a047d0a6e1..fb69e87aaa 100644 --- a/tsconfig-common.json +++ b/tsconfig-common.json @@ -9,7 +9,7 @@ // Required for dynamic imports even though we aren't using // tsc to output any modules. "module": "ESNext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, /* Interop Constraints */ "esModuleInterop": true, diff --git a/yarn.lock b/yarn.lock index 01e32c45b6..fd744f7b0d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15940,10 +15940,10 @@ typescript-coverage-report@^0.7.0: semantic-ui-react "^0.88.2" type-coverage-core "^2.23.0" -typescript@^5.4.2: - version "5.4.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.2.tgz#0ae9cebcfae970718474fe0da2c090cad6577372" - integrity sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ== +typescript@5.7.2: + version "5.7.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2.tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6" + integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg== ua-parser-js@^0.7.30: version "0.7.31"