how to use Object.assign with literals on a reducer with defined returning flow type

后端 未结 0 1156
夕颜
夕颜 2021-02-20 07:24

I\'m writing a reducer that will be used along with React.useReducer hook. Flow is used, but the reducer is suffering from a flow error because Object.assign(

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