How to Infer the Payload Type of an NgRx Action?

前端 未结 0 1771
走了就别回头了
走了就别回头了 2021-01-25 19:43

I want to create a generic function that takes an NgRx action and a method as input.

The first argument of the method should infer the type of the action payload. Here is

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