prisma enum types as argument type?
i've got this function:
i also have the enum
logType
with Prisma.
how can I set the type for arg1 by using the enum logType
?Solution:Jump to solution
turns out because I was using amonorepo I needed to export * from my prisma db file, and import the type from the package
1 Reply
Solution
turns out because I was using amonorepo I needed to export * from my prisma db file, and import the type from the package