TypeScript 2.1 introduces a new
--importHelpers
flag which causes the compiler to import helpers fromtslib
, an external helpers library, rather than to inline them into each file. You can install and versiontslib
just like any other npm package:
Source: TypeScript 2.1: External Helpers Library | Marius Schulz
The post TypeScript 2.1: External Helpers Library | Marius Schulz appeared first on angular.org.il.