Enum types are broken #24007
Unanswered
FullmetalBober
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @FullmetalBober 👋 Can you try restarting your Typescript server or your IDE to see if this issue goes away? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug description
After importing
import { Prisma } from '@prisma/client';
and using model with enums
async function onSubmit(data: Prisma.IssueUncheckedCreateInput) {
my typescript stopped work, I no longer get type highlighting and errors
https://github.com/FullmetalBober/ProgressHub/blob/main/components/issues/CreateIssueModal.tsx#L46
How to reproduce
Expected behavior
No response
Prisma information
// Add your code using Prisma Client
Environment & setup
Prisma Version
Beta Was this translation helpful? Give feedback.
All reactions