Supabase CLI. Manage postgres migrations, run Supabase locally, deploy edge functions. Postgres backups. Generating types from your database schema.
1.07k
stars
209
forks
source link
Support tsrange in generated typescript types #1549
Closed
pingiun closed 8 months ago
Is your feature request related to a problem? Please describe.
Right now the cli generates a type of
unknown
for tsrange fields. It would be nice to get some information for rows that include atsrange
Describe the solution you'd like
Some javascript type that nicely represents a range
Describe alternatives you've considered
Parsing the data manually, but this is error prone and annoying
Additional context
-