Skip to content

Commit

Permalink
Bump typescript to v5.3.2 (mui#38780)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ZeeshanTamboli <[email protected]>
  • Loading branch information
2 people authored and mnajdova committed Dec 6, 2023
1 parent 1476d2f commit c1d6ece
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/zero-runtime-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@types/node": "20.5.7",
"@types/react": "18.2.38",
"@types/react-dom": "18.2.17",
"typescript": "5.1.6"
"typescript": "5.3.2"
},
"resolutions": {
"@mui/zero-tag-processor": "file:../../packages/zero-tag-processor/build"
Expand Down
2 changes: 1 addition & 1 deletion apps/zero-runtime-vite-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"local-library": "file:../local-library",
"vite": "4.4.11",
"vitest": "^0.34.6",
"typescript": "5.1.6"
"typescript": "5.3.2"
},
"resolutions": {
"@mui/zero-tag-processor": "file:../../packages/zero-tag-processor/build"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
"stylelint-processor-styled-components": "^1.10.0",
"terser-webpack-plugin": "^5.3.9",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"typescript": "^5.3.2",
"webpack": "^5.88.2",
"webpack-bundle-analyzer": "^4.9.1",
"webpack-cli": "^5.1.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/api-docs-builder-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"@types/sinon": "^10.0.20",
"chai": "^4.3.10",
"sinon": "^15.2.0",
"typescript": "^5.1.6"
"typescript": "^5.3.2"
}
}
2 changes: 1 addition & 1 deletion packages/api-docs-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"@types/sinon": "^10.0.20",
"chai": "^4.3.10",
"sinon": "^15.2.0",
"typescript": "^5.1.6"
"typescript": "^5.3.2"
}
}
4 changes: 3 additions & 1 deletion packages/mui-material-next/src/Button/Button.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ const buttonTest = () => (
Title
</Button>
<Button component="a">Simple Link</Button>
<Button component={(props) => <a {...props} />}>Complex Link</Button>
<Button component={(props: React.HTMLAttributes<HTMLAnchorElement>) => <a {...props} />}>
Complex Link
</Button>
<Button component={ReactRouterLink} to="/open-collective">
Link
</Button>
Expand Down
2 changes: 1 addition & 1 deletion packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@types/react-dom": "^18.2.17",
"@types/react-test-renderer": "^18.0.7",
"@types/sinon": "^10.0.20",
"typescript": "^5.1.6"
"typescript": "^5.3.2"
},
"peerDependencies": {
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-to-proptypes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@mui-internal/api-docs-builder": "^1.0.0",
"doctrine": "^3.0.0",
"lodash": "^4.17.21",
"typescript": "^5.1.6",
"typescript": "^5.3.2",
"uuid": "^9.0.1"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"noUnusedLocals": true,
"skipLibCheck": true,
"esModuleInterop": true,
"moduleResolution": "node16",
"module": "Node16",
"moduleResolution": "Node16",
"types": ["mocha"]
},
"include": ["e2e/**/*", "regressions/**/*"],
Expand Down
7 changes: 6 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16858,7 +16858,12 @@ types-ramda@^0.29.4:
dependencies:
ts-toolbelt "^9.6.0"

"typescript@>=3 < 6", typescript@^5.1.6, typescript@~5.1.6:
"typescript@>=3 < 6", typescript@^5.3.2:
version "5.3.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.2.tgz#00d1c7c1c46928c5845c1ee8d0cc2791031d4c43"
integrity sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==

typescript@~5.1.6:
version "5.1.6"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274"
integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==
Expand Down

0 comments on commit c1d6ece

Please sign in to comment.