Closed menelaos closed 10 months ago
Steps to reproduce:
npx create-react-app foo --template typescript
cd foo
package.json
@types/react
^17.0.0
npx typesync
Expected behaviour:
typesync updates @types/react to a version that is compatible with the installed react version.
typesync
react
Actual behaviour:
typesync does not update the @types/react version and leaves it at ^17.0.0.
TypeSync doesn't update the typings packages, it only adds missing ones. I recommend using npm-check for upgrading packages.
npm-check
Steps to reproduce:
npx create-react-app foo --template typescript
cd foo
package.json
and change the version of@types/react
to e.g.^17.0.0
.npx typesync
Expected behaviour:
typesync
updates@types/react
to a version that is compatible with the installedreact
version.Actual behaviour:
typesync
does not update the@types/react
version and leaves it at^17.0.0
.