FroggyPanda / better-supabase-types

73 stars 13 forks source link

Improve enums #25

Closed FroggyPanda closed 1 year ago

FroggyPanda commented 1 year ago

Resolves #22 and #24

Use:

better-supabase-types -i input.ts -o output.ts --enumAsType --enumPascalCase

I hope I did this right as I did limited testing and not sure of all the possible ways enums could be typed out.

0x62 commented 1 year ago

Thank you!