jeffijoe / typesync

Install missing TypeScript typings for dependencies in your package.json.
MIT License
1.51k stars 21 forks source link

Version is not updated #108

Closed menelaos closed 8 months ago

menelaos commented 8 months ago

Steps to reproduce:

  1. npx create-react-app foo --template typescript
  2. cd foo
  3. Open package.json and change the version of @types/react to e.g. ^17.0.0.
  4. 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.

jeffijoe commented 8 months ago

TypeSync doesn't update the typings packages, it only adds missing ones. I recommend using npm-check for upgrading packages.