Narrow type based on property union type

前端 未结 0 1745
栀梦
栀梦 2020-12-17 20:39

I\'m trying to narrow a type to a specific variant of a type. But I\'m having troubles defining the correct type. Right now I have a type Item which can have a

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