Open
Description
Bug Report Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
main
branch of the repository. - I have searched for related issues and found none that matched my issue.
Overview
Following #713, I added an ignore
line to the Knip config:
Line 4 in 6fb975c
Corresponding Knip issue: webpro-nl/knip#996
I have a few code pairs like this:
export function intersectionConstituents() { // ... } /** @deprecated use {@link intersectionConstituents}. */ export const intersectionTypeParts = intersectionConstituents;Knip is reporting on those pairs:
Duplicate exports (3) intersectionConstituents, intersectio... src/types/utilities.ts typeConstituents, typeParts src/types/utilities.ts unionConstituents, unionTypeParts src/types/utilities.ts
Filing a tracking issue to see that we get rid of that ignore
.
Additional Info
Per webpro-nl/knip#996 (comment) it looks like the solution is to use the documented + recommended @alias
tag. TIL.
💖