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