How can I use a literal string argument value in a Typescript generic constraint?

前端 未结 0 1619
暖寄归人
暖寄归人 2020-12-10 12:02

I\'m trying to write an object path utility that guarantees that the list of keys corresponds to an actual path in the specified generic type.

In my attempt below, I

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