Possible to infere type from PgEnum?

how to get the type of something like this
export const serenity = pgEnum("serenity", ["ok", "warning", "critical", "error"])
Was this page helpful?