Version is not updated
menelaos opened this issue · comments
menelaos commented
Steps to reproduce:
npx create-react-app foo --template typescript
cd foo
- Open
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 installed react
version.
Actual behaviour:
typesync
does not update the @types/react
version and leaves it at ^17.0.0
.
Jeff Hansen commented
TypeSync doesn't update the typings packages, it only adds missing ones. I recommend using npm-check
for upgrading packages.