Skip to content

Commit

Permalink
fix(dev): TypeScript errors when running yarn dev (#8835)
Browse files Browse the repository at this point in the history
since updating to TypeScript 5 we've had errors like:
`TypeError: Cannot set property mark of #<Object> which has only a getter`

updating fork-ts-checker-webpack-plugin fixes the problem
  • Loading branch information
LeoMcA authored May 11, 2023
1 parent 4d67cc2 commit 039515b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
"watch:ssr": "cd ssr && webpack --mode=production --watch"
},
"resolutions": {
"lodash": ">=4.17.15"
"lodash": ">=4.17.15",
"react-dev-utils/fork-ts-checker-webpack-plugin": "^6.5.3"
},
"dependencies": {
"@caporal/core": "^2.0.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6273,10 +6273,10 @@ foreman@^3.0.1:
mustache "^2.2.1"
shell-quote "^1.6.1"

fork-ts-checker-webpack-plugin@^6.5.0:
version "6.5.2"
resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-6.5.2.tgz#4f67183f2f9eb8ba7df7177ce3cf3e75cdafb340"
integrity sha512-m5cUmF30xkZ7h4tWUgTAcEaKmUW7tfyUyTqNNOz7OxWJ0v1VWKTcOvH8FWHUwSjlW/356Ijc9vi3XfcPstpQKA==
fork-ts-checker-webpack-plugin@^6.5.0, fork-ts-checker-webpack-plugin@^6.5.3:
version "6.5.3"
resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-6.5.3.tgz#eda2eff6e22476a2688d10661688c47f611b37f3"
integrity sha512-SbH/l9ikmMWycd5puHJKTkZJKddF4iRLyW3DeZ08HTI7NGyLS38MXd/KGgeWumQO7YNQbW2u/NtPT2YowbPaGQ==
dependencies:
"@babel/code-frame" "^7.8.3"
"@types/json-schema" "^7.0.5"
Expand Down

0 comments on commit 039515b

Please sign in to comment.