generated from JoshuaKGoldberg/create-typescript-app
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
area: toolingManaging the repository's maintenance 🛠️Managing the repository's maintenance 🛠️
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
"ignore": ["src/types/utilities.ts"], // https://github.com/webpro-nl/knip/issues/996 |
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.
💖
Metadata
Metadata
Assignees
Labels
area: toolingManaging the repository's maintenance 🛠️Managing the repository's maintenance 🛠️