Runtime library for TypeScript helpers.
0BSD License
Bot releases are hidden (Show)
Published by DanielRosenwasser over 4 years ago
This release reverts breaking changes in tslib that were not compatible with versions of TypeScript prior to 3.9. The behavior slightly diverges from that of TypeScript 3.9, but generally is compatible with previous versions of TypeScript-authored code.
The new behavior of TypeScript 3.9 will be available in tslib 2.0.0.
See this pull request for more details.
Published by DanielRosenwasser over 4 years ago
This release adds the __createBinding
helper function which is used by non-ECMAScript module emit in TypeScript 3.9.
Published by DanielRosenwasser over 4 years ago
This release relicenses tslib to the 0BSD license which should allow projects that embed or bundle tslib to omit its license header.
Published by weswigham over 4 years ago
This release updates tslib's declaration files so that users don't have to include declarations for WeakMap
in their compilation.
Published by DanielRosenwasser over 4 years ago
This release provides the __classPrivateFieldGet
and __classPrivateFieldSet
helper functions to power ECMAScript private fields in TypeScript 3.8.
Published by DanielRosenwasser over 5 years ago
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).
Published by DanielRosenwasser over 6 years ago
This release changes the __extends
and __assign
helper functions so that certain tools may more easily analyze them. Details are available on https://github.com/Microsoft/TypeScript/pull/24244.
Published by DanielRosenwasser over 6 years ago
Fixes issues in the __generator
helper regarding return
-ing and throw
-ing. Details are available on https://github.com/Microsoft/TypeScript/pull/24463
Published by DanielRosenwasser over 6 years ago
Updates __asyncValues
to more correctly align with CreateAsyncFromSyncIterator, and updates __asyncDelegator
to ensure throw
is correctly propagated.
Published by DanielRosenwasser almost 7 years ago
This release introduces import helpers that are utilized by TypeScript 2.7's --esModuleInterop
flag for interoperability between ECMAScript modules and legacy module formats.
Published by DanielRosenwasser almost 7 years ago
This release includes a fix that prevents tslib from emitting an __esModule
member on the global object.
Published by DanielRosenwasser about 7 years ago
This release includes
__makeTemplateObject
helper used in TypeScript 2.6__awaiter
helper in older browsersPublished by DanielRosenwasser over 7 years ago
This release contains a fix relating how exceptions are propagated in async
contexts.
Published by rbuckton over 7 years ago
This release contains the following changes:
NOTE: This is a breaking change from TypeScript 2.3.2 and earlier when using tslib with async generators:
Published by rbuckton over 7 years ago
yield*
delegation.Published by mhegazy over 7 years ago
Published by DanielRosenwasser almost 8 years ago
__extends
helper to use Object.setPrototypeOf
or __proto__
for extending statics when the runtime supports it.Published by mhegazy almost 8 years ago
Initial Release.
Published by mhegazy almost 8 years ago
Published by mhegazy almost 8 years ago