Return corresponded input type by name as string (string template literal)

后端 未结 0 1521
[愿得一人]
[愿得一人] 2020-12-31 08:34
type GenerateArrayKeyType = `${T}.${K}`;

type PathImpl =
  Key extends string
  ? T[Key] ext         


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