ted
ted
Explore posts from servers
PPrisma
Created by ted on 7/26/2024 in #help-and-questions
prisma enum types as argument type?
i've got this function:
export async function log(arg1) {
// logic
}
export async function log(arg1) {
// logic
}
i also have the enum logType with Prisma. how can I set the type for arg1 by using the enum logType?
4 replies