Why we shouldn't use the primitive's boxed type version?

前端 未结 0 672
暗喜
暗喜 2020-12-14 21:25

Typescript manual mentions that we almost always must use the primitive types, but doesn\'t explain the reason behind it:

It can be tempting to think tha

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