Skip to content

useRouteParam should return string | undefined instead of just string #287

@znicholasbrown

Description

@znicholasbrown

I think we're relying on the type coming from useRoute so I might need to transfer this issue but a call to useRouteParam returns a type of string when in fact it can be undefined.

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