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
Not really an actual regression but I think it's the closest fit for this.
A while back (pre-6.0?) knip used to export many of its types. At some point that changed, and since then I've been using a script to patch knip's package.json in my node_modules folder to expose these again. I've been adding the following to the exports section:
Perhaps you mean that in v5 you might've been able to reach types through dist path (not officially exposed).
In general I'm not too keen on increasing the public surface, it means more for me to keep track of and version. Yet what you need in this case is already reachable through the public types.
Anyway I'll expose Issue, IssueRecords, IssueType β that should have you covered.
Activity
webpro commentedon Jul 2, 2026
Perhaps you mean that in v5 you might've been able to reach types through
distpath (not officially exposed).In general I'm not too keen on increasing the public surface, it means more for me to keep track of and version. Yet what you need in this case is already reachable through the public types.
Anyway I'll expose
Issue,IssueRecords,IssueTypeβ that should have you covered.webpro commentedon Jul 2, 2026
π This issue has been resolved in v6.24.0. See Release 6.24.0 for release notes.
Using Knip in a commercial project? Please consider becoming a sponsor.
adamhl8 commentedon Jul 2, 2026
Thanks!
Export Issue, IssueRecords and IssueType types (resolve webpro-nl#1840)