-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] @types/<package> for packages that already include types as Unused #241
Comments
What is the issue you're seeing? Is |
I see the potential too: If the dependency comes with it's own type definitions, and you have a |
In the example above, |
🚀 This issue has been resolved in v2.30.0. See Release 2.30.0 for release notes. |
As far as I can see Knip just needs to check for the |
🚀 This issue has been resolved in v2.32.0. See Release 2.32.0 for release notes. |
Hi, great project!
I noticed that Webpack 5 now includes types, so including
@types/webpack
is no longer necessary.We probably have a lot of packages like this.
To figure out which packages now include types, maybe we can look in each dependency's
package.json
for a"types"
key?The text was updated successfully, but these errors were encountered: