Skip to content

support typescript for suspense props #1

@r17x

Description

@r17x

Is your feature request related to a problem? Please describe.
When integrated this plugin with project that use typescript. Type-Check will throw error type cause suspense props is unknown type definition

Describe the solution you'd like
We need to tell typescript compiler if this plugin enable

Describe alternatives you've considered
Manually extends React Type to support suspense props

suspense?: SuspensePropse["fallback"];

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions