How to achieve type inference for a reducer function concisely?

后端 未结 0 1048
小鲜肉
小鲜肉 2020-12-25 13:09

There are many examples on typing reducer functions, but they seem too verbose for my liking. I tried to keep it short and simple and wrote my actions and reducer typings as

相关标签:
回答
  • 消灭零回复
提交回复
热议问题