Ensure an interface is in par with a union type?

后端 未结 0 480
甜味超标
甜味超标 2020-12-07 06:35

Given this union type:

type Type = \'one\' | \'two\' | \'three\'

How can I type the following object t

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