Why is “string & number” not evaluated as “never” in Typescript?

前端 未结 0 1712
[愿得一人]
[愿得一人] 2020-12-05 18:33

I was experimenting with some intersection between common primitive types in Typescript.

strictNullChecks

By default null and undefined are subtyp

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