Why is this object's type resolving to one side of a type union?

后端 未结 0 1873
轮回少年
轮回少年 2021-02-12 05:32

See this playground.

Why on line 18 has obj already resolved as Foo, which causes it to then be of type never on line nineteen? It

相关标签:
回答
  • 消灭零回复
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题