Skip to content

Commit

Permalink
fix: pin to last working version of react/types
Browse files Browse the repository at this point in the history
Looks like there's a bug with recent version of @types/react, that causes
valid Typescript to fail with some React components. This was failing
builds with my install stepper UI changes.

Pinning to the last working version, as recommended in the github issue
, appears to have solved the problem for me.

creativetimofficial/material-tailwind#528
  • Loading branch information
jordan-acosta committed Jun 19, 2024
1 parent 2dd35c8 commit 9ac0375
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 11 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react": "18.2.42",
"@types/react-dom": "^18",
"@types/showdown": "^2.0.6",
"autoprefixer": "^10.0.1",
Expand Down

0 comments on commit 9ac0375

Please sign in to comment.