Can I make a key-value dictionary in TypeScript that's typesafe for every key-value pair?

前端 未结 0 1177
感动是毒
感动是毒 2021-02-06 01:29

This question\'s kind of involved, and possibly best approached by exploring a rudimentary state system, so walk with me here for a minute. Suppose I have this state class:

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