Why does typescript narrow unknown to never inside a reachable conditional block?

前端 未结 0 695
闹比i
闹比i 2020-12-02 11:03

When inputting the sample below in Typescript Playground (link), mousing over foo inside the console.log statement reveals that foo\'s

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