We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In a lib written in JS with the type declared in an index.d.ts referenced in the package.json types field, knip reports index.d.ts as unused.
index.d.ts
package.json
types
It would be nice if knip would recognize that this file is used because it exports the types.
Stack Blitz example: https://stackblitz.com/edit/stackblitz-starters-q7yeyg (run npm test)
The text was updated successfully, but these errors were encountered:
296ab06
🚀 This issue has been resolved in v5.12.2. See Release 5.12.2 for release notes.
Using Knip in a commercial project? Please consider sponsoring me.
Sorry, something went wrong.
Thanks for the report, @fcostarodrigo!
Thank you very much @webpro 🙂
No branches or pull requests
In a lib written in JS with the type declared in an
index.d.ts
referenced in thepackage.json
types
field, knip reportsindex.d.ts
as unused.It would be nice if knip would recognize that this file is used because it exports the types.
Stack Blitz example: https://stackblitz.com/edit/stackblitz-starters-q7yeyg (run npm test)
The text was updated successfully, but these errors were encountered: