Infer prop types of generic children React components with TypeScript

前端 未结 0 1917
孤街浪徒
孤街浪徒 2021-01-16 21:58

I want to force TypeScript to correctly type-check the generic hierarchy of React components like this (playground link):



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