Skip to content

Conversation

@RobCubed
Copy link

Just a config option to do as the titles says, providing an escape hatch for odd scenarios where the code is correct but TS complains.

The use case we have is that at my job we have noUnusedLocals enabled and a Prisma enum that isn't used in the DB, but is used in other code. Due to all the enums being imported at the beginning, this causes tsc to complain. I'm sure there are more weird edge cases that this will allow people to dodge as well :)

@RobCubed RobCubed requested review from alii and valtyr as code owners October 16, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant