createAction with required payload

前端 未结 0 346
长情又很酷
长情又很酷 2020-12-06 15:47

Can you provide example how to create action with required payload?

for example if i create like this

const foo = createAction<{ email: string }>(\

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