With TypeScript 2.2, null checking is improved even further. TypeScript now flags expressions with nullable operands as compile-time errors.
TypeScript 2.2 loosens a restriction around dotted property access for types with explicit string index signatures. Fewer type annotations, less awkward code!
Here's a little helper class for detecting on which operating system a .NET Core application is currently running.
TypeScript 2.2 introduces a new type called
object which represents any non-primitive type. Don't confuse it with the existing
TypeScript 2.1 makes it a lot easier to work with untyped imports. Previously an error, these imports are now typed as
any and can be consumed painlessly.