Converting React useReducer to TypeScript

前端 未结 0 1755
死守一世寂寞
死守一世寂寞 2020-12-23 14:22

I am trying to convert a useReducer hooks to TypeScript, It\'s working fine as useReducer hooks, however not in TypeScript.

Here is my code,

import * a         


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