esamattis / esamattis/immer-reducer

Obtaining Action Payload Type

Open
#54 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
223
Forks
15
PR merge metrics
No merged PRs in 30d

Description

How can one obtain the payload type of an action? This is useful for typing ie redux-saga:

```
action: typeof actions.specific.payload
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.