Typing a redirect HOC in TypeScript with Next.js

后端 未结 0 1943
有刺的猬
有刺的猬 2020-12-12 19:19

I\'m building a Next.js project with TypeScript. I\'m trying to type a HOC that redirects the user based on the Redux state.

Here is what I have so far:



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