by incrudible · 5y ago · 0 comments
It's also possible to give this type a name:
type UserCreationType = 'admin' | 'customer'