Version 2.6 of Microsoft’s TypeScript language has moved to the release candidate stage. The new release of the typed superset of JavaScript features improvements such as increased strictness to help developers better find mistakes.

The new features in TypeScript 2.6

TypeScript 2.6 introduces a strict mode flag, which is identified as --strictFunctionTypes. In strict mode, any function type that does not originate from a method has its parameters compared “contravariantly,” said Microsoft’s Daniel Rosenwasser, program manager for TypeScript.

To read this article in full, please click here