Releases: microsoft/tslib
tslib 1.12.0
This release adds the __createBinding
helper function which is used by non-ECMAScript module emit in TypeScript 3.9.
tslib 1.11.2
This release relicenses tslib to the 0BSD license which should allow projects that embed or bundle tslib to omit its license header.
tslib 1.11.1
This release updates tslib's declaration files so that users don't have to include declarations for WeakMap
in their compilation.
tslib 1.11.0
This release provides the __classPrivateFieldGet
and __classPrivateFieldSet
helper functions to power ECMAScript private fields in TypeScript 3.8.
tslib 1.10.0
This release fixes enumerability in object rest's __rest
helper (see details here) and adds a new __spreadArrays
helper (done as part of a change for more accurate array spreads).
tslib 1.9.3
This release changes the __extends
and __assign
helper functions so that certain tools may more easily analyze them. Details are available on microsoft/TypeScript#24244.
tslib 1.9.2
Fixes issues in the __generator
helper regarding return
-ing and throw
-ing. Details are available on microsoft/TypeScript#24463
tslib 1.9.1
Updates __asyncValues
to more correctly align with CreateAsyncFromSyncIterator, and updates __asyncDelegator
to ensure throw
is correctly propagated.
tslib 1.9.0
This release introduces import helpers that are utilized by TypeScript 2.7's --esModuleInterop
flag for interoperability between ECMAScript modules and legacy module formats.
tslib 1.8.1
This release includes a fix that prevents tslib from emitting an __esModule
member on the global object.