Typescript - narrow type based on object dictionary?

后端 未结 0 1246
北荒
北荒 2021-01-22 02:51

See the code below, I know given a literal value I use to access the dictionary, the output will have an interface that is compatible with original input. However, typescript do

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