You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default configs of pg-typed parses Postgres INTERVAL column data using postgres-interval npm package. This results in types generated for row object properties corresponding to interval results to be of type PostgresInterval that has a shape as follows:
Describe the bug
Recreated on:
The default configs of pg-typed parses Postgres
INTERVAL
column data usingpostgres-interval
npm package. This results in types generated for row object properties corresponding to interval results to be of typePostgresInterval
that has a shape as follows:But the corresponding types in the generated type definitions are of
string
type.Expected behavior
To have consistent compile time and runtime types for corresponding interval values.
Test case
Test cases added on #553
The text was updated successfully, but these errors were encountered: