You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report and the report, @nihalgonsalves. Applied some fixes and did some smoke testing, things look better now. Any chance you could give it a shot on one ore more of your project(s)? You could install like so:
Prerequisites
Reproduction url
https://stackblitz.com/edit/github-rr55fg3x?file=package.json,index.ts
Reproduction access
Description of the issue
(I initially reported this as a feature request in #936)
https://knip.dev/guides/handling-issues#type-definition-packages implies that these should be reported as unused, but I cannot get Knip to report them. I tried a package from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/notNeededPackages.json and a package that initially prompted me to file the first issue:
Assuming the dependencies are used somewhere, I'd expect the
@types/
packages to be reported as unused, as both packages bundle their types 1 2Footnotes
https://github.com/ajv-validator/ajv/blob/master/package.json#L6 ↩
https://github.com/eslint/eslint/blob/main/packages/js/package.json#L6 ↩
The text was updated successfully, but these errors were encountered: