Skip to content

prop-types not detected in async functions #1473

@jseminck

Description

@jseminck

Encountered this while working on CodeSandbox.

When I stripped async from the function, then the prop-types rule started to complain about modalActions not being defined in the propTypes. When I re-added async, then the warning disappeared.

async_props

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions