diff --git a/.changeset/smart-pots-repair.md b/.changeset/smart-pots-repair.md new file mode 100644 index 0000000000..75220242f8 --- /dev/null +++ b/.changeset/smart-pots-repair.md @@ -0,0 +1,9 @@ +--- +"react-router": patch +"react-router-dom": patch +"react-router-dom-v5-compat": patch +"react-router-native": patch +"@remix-run/router": patch +--- + +upgrade typescript to 5.1 diff --git a/package.json b/package.json index dee893e1c4..2884aece67 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "rollup-plugin-terser": "^7.0.2", "semver": "^7.3.5", "type-fest": "^2.13.0", - "typescript": "^4.7.3" + "typescript": "^5.1.3" }, "engines": { "node": ">=14" diff --git a/yarn.lock b/yarn.lock index 1e93128919..e06ff16712 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9186,10 +9186,10 @@ type-fest@^2.13.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b" integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA== -typescript@^4.7.3: - version "4.8.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.3.tgz#d59344522c4bc464a65a730ac695007fdb66dd88" - integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig== +typescript@^5.1.3: + version "5.1.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.3.tgz#8d84219244a6b40b6fb2b33cc1c062f715b9e826" + integrity sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw== uglify-es@^3.1.9: version "3.3.9"