typescript: assert string is not part of a union

后端 未结 0 994
梦谈多话
梦谈多话 2020-12-01 07:03

I want to have typescript assert that a \'new\' string is not part of a union, an existing set the string will be added to.

I\'m looking for an independent, standalon

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