【TypeScript 演化史 — 1】non-nullable 的类型

TypeScript 演化史 -- 1non-nullable 的类型在这篇文章中,我们将讨论发布于 TypeScript 2.0 中的 non-nullable 类型,这是对类型系统的一个重大的改进,该特性可对 null 和 undefined 的检查。cannot read property 'x' of undefined 和 undefined is not ...