Releases: microsoft/tslib
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.
tslib 1.8.0
This release includes
- the new
__makeTemplateObject
helper used in TypeScript 2.6 - a fix for using the
__awaiter
helper in older browsers
tslib 1.7.1
This release contains a fix relating how exceptions are propagated in async
contexts.
tslib 1.7.0
This release contains the following changes:
- Update to the latest helpers for async generators.
NOTE: This is a breaking change from TypeScript 2.3.2 and earlier when using tslib with async generators:
- If you are using TypeScript 2.3.2 or earlier and are writing async generators, you must use tslib version 1.6.1.
- If you are using TypeScript 2.3.3 or later and are writing async generators, you must use tslib version 1.7.0 or later.
tslib 1.6.1
- Fixes an issue with async
yield*
delegation.
tslib 1.6.0
tslib 1.5.0
- Updated the
__extends
helper to useObject.setPrototypeOf
or__proto__
for extending statics when the runtime supports it.