How can i remove type 'never' from union type?

后端 未结 0 842
青春惊慌失措
青春惊慌失措 2021-02-05 21:50

So I have this scenario where I perform an exclude and I am left with my expected type in union with type never. When I try to instantiate a class with my type I get this error

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