Skip to content

Where is the definition of PayloadAction? #4033

@danielo515

Description

@danielo515

What docs page needs to be fixed?

  • usage with typescript:
  • typing create reducer:

https://redux.js.org/recipes/usage-with-typescript#typing-createreducer

What is the problem?

There is a reference to a generic type, PayloadAction, that doesn't exist on this repo and it doesn't explain where to get it from.

What should be changed to fix the problem?

It will be ideal to include such type as part of the package. If that is not possible, provide links to it's definition.

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