Closed gulfaraz closed 1 year ago
This PR changes gen:types:typescript to generate types for function columns instead of unknown.
gen:types:typescript
unknown
The current output is,
// todos Row: { details: string | null id: number "user-id": number blurb: string | null blurb_varchar: unknown | null details_is_long: unknown | null details_length: unknown | null }
// todos Row: { details: string | null id: number "user-id": number blurb: string | null blurb_varchar: string | null details_is_long: boolean | null details_length: number | null }
Thanks for the PR @gulfaraz!
What kind of change does this PR introduce?
This PR changes
gen:types:typescript
to generate types for function columns instead ofunknown
.What is the current behavior?
The current output is,
What is the new behavior?