Skip to content

gen types: nullable INTERVAL columns inferred as string instead of string | null #4684

@MuzzaiyyanHussain

Description

@MuzzaiyyanHussain

When running supabase gen types --lang=typescript,
nullable INTERVAL columns are inferred as string instead of string | null.

This seems to be a CLI type generator issue, not supabase-js.

Happy to work on a fix if this approach is correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions