TypeScript 2.1 introduces a new --importHelpers flag which causes the compiler to import helpers from tslib, an external helpers library, rather than to inline them into each file. You can install and version tslib just like any other npm package:

Source: TypeScript 2.1: External Helpers Library | Marius Schulz

Posted in: Articles.
Last Modified: March 23, 2017

Leave a Reply