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

后端 未结 0 1776
终归单人心
终归单人心 2021-02-12 05:35

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

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