Skip to content

Commit

Permalink
use react 18 type definitions
Browse files Browse the repository at this point in the history
This seems to work around mui/material-ui#40427; `yarn tsc:full` no longer fails
in a freshly-scaffolded test app.

Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
  • Loading branch information
Jamie Klassen committed Jan 15, 2024
1 parent 86baccb commit 40b5331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/create-app/templates/default-app/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"typescript": "~5.2.0"
},
"resolutions": {
"@types/react": "^17",
"@types/react-dom": "^17"
"@types/react": "^18",
"@types/react-dom": "^18"
},
"prettier": "@spotify/prettier-config",
"lint-staged": {
Expand Down

0 comments on commit 40b5331

Please sign in to comment.