Skip to content

Flow types? #264

Closed
Closed
@tmcw

Description

@tmcw

Is there any way to enforce types for the action creators in mapDispatchToProps, whether in react-redux core or a contrib? Would it be possible to annotate propTypes to enforce function signatures, or add an interface? I'm working on a large application that benefitted a lot from Flow annotations on action creators, and no longer can because of the dispatch/props disconnect.

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