More Cool Stuff in TypeScript 2.0 and 2.1

added by DotNetKicks
2/2/2017 2:21:27 PM

2 Kicks, 244 Views

Practical TypeScript A roundup of a few more features: deprecated any type, literal datatypes, read-only properties, more! In previous columns I've covered some of the new features in TypeScript 2.0. I looked at eliminating nulls/undefined values, leveraging class discriminants, and exploiting private constructors and building class hierarchies using abstract classes and members.