Skip to content
Discussion options

You must be logged in to vote

Good catch! This is fixed in 6f461b6 (will ship in the next release).

The duplicate-export detection now tracks whether each export is type-only. Groups that mix value and type exports (like export const Status + export type Status) are recognized as TypeScript declaration merging and skipped. This covers Zod, Prisma, class+interface patterns, and any other value/type namespace split.

Same-namespace duplicates (two value exports or two type exports with the same name across files) are still correctly flagged.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BartWaardenburg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants