Skip to content

React Hooks: Should allow typecast of literal array #18

@kastermester

Description

@kastermester

We have an instance where TS complains that the array literal's union type is too complex to represent - thus requiring an explicit typecast. However the hook rule does not allow this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions