Why I am getting a Typescript error while using useContext with React?

前端 未结 0 641
栀梦
栀梦 2021-01-14 04:54

I am creating a Context using useContext with TypeScript. I have a function into seperate file MovieDetailProvider.tsx as wrapper in my App.tsx file.



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