TS: Dynamic Lookup Type

前端 未结 0 789
情书的邮戳
情书的邮戳 2021-01-21 01:24

I am wondering if there is a way to define the following type in a generic and dynamic manner

type ReturnNodeType = NonNullable<
  ReturnType["data"]         


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