Skip to content

Commit 039515b

Browse files
authored
fix(dev): TypeScript errors when running yarn dev (#8835)
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
1 parent 4d67cc2 commit 039515b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
"watch:ssr": "cd ssr && webpack --mode=production --watch"
5555
},
5656
"resolutions": {
57-
"lodash": ">=4.17.15"
57+
"lodash": ">=4.17.15",
58+
"react-dev-utils/fork-ts-checker-webpack-plugin": "^6.5.3"
5859
},
5960
"dependencies": {
6061
"@caporal/core": "^2.0.2",

Diff for: yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -6273,10 +6273,10 @@ foreman@^3.0.1:
62736273
mustache "^2.2.1"
62746274
shell-quote "^1.6.1"
62756275

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

0 commit comments

Comments
 (0)