Automatic types resolution #7018
Willem-Jaap
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Automatic types resolution
If you have ever worked on a project with lots of dependencies, you have certainly come across the @types/* packages.
These type definitions are meant for JavaScript modules that do not have TypeScript types.
When you have a lot of these packages, the dependencies in your package.json start to look like this:
json
This could be resolved by the following:
When installing PNPM, it automatically checks against the DefinitelyTyped registry to install the correct @types packages if they exist.
I don't know if this is even remotely feasible, but I think it would make a very cool addition to PNPM's feature set.
Beta Was this translation helpful? Give feedback.
All reactions