Runtime library for TypeScript helpers.
0BSD License
Bot releases are visible (Hide)
Full Changelog: https://github.com/microsoft/tslib/compare/v2.6.2...v2.6.3
Published by andrewbranch about 1 year ago
exports["module"]["types"]
by @andrewbranch in https://github.com/microsoft/tslib/pull/217
Full Changelog: https://github.com/microsoft/tslib/compare/v2.6.1...v2.6.2
Published by andrewbranch about 1 year ago
Full Changelog: https://github.com/microsoft/tslib/compare/2.6.0...v2.6.1
Published by rbuckton over 1 year ago
using
and await using
by @rbuckton in https://github.com/microsoft/tslib/pull/213
Full Changelog: https://github.com/microsoft/tslib/compare/v2.5.3...2.6.0
Published by andrewbranch over 1 year ago
Full Changelog: https://github.com/microsoft/tslib/compare/2.5.2...v2.5.3
Published by DanielRosenwasser over 1 year ago
This release explicitly re-exports helpers to work around TypeScript's incomplete symbol resolution for tslib.
Published by DanielRosenwasser over 1 year ago
This release of tslib provides fixes for two issues.
First, it reverses the order of init
hooks provided by decorators to correctly reflect proposed behavior.
Second, it corrects the exports
field of tslib's package.json
and provides accurate declaration files so that it may be consumed under the node16
and bundler
settings for moduleResolution.
Published by DanielRosenwasser over 1 year ago
__esDecorate
and related helpers by @rbuckton in https://github.com/microsoft/tslib/pull/193
Full Changelog: https://github.com/microsoft/tslib/compare/2.4.1...2.5.0
Published by DanielRosenwasser almost 2 years ago
This release contains fixes for early return
s and throw
s invoked on generators.
Published by rbuckton over 2 years ago
This release includes the __classPrivateFieldIn
helper as well as an update to __createBinding
to reduce indirection between multiple re-exports.
Published by DanielRosenwasser about 3 years ago
This release updates the __spreadArray
helper for TypeScript 4.4 to correctly operate on collections that are not "concat-spreadable" such as the DOM's NodeList
s and HTMLCollection
s.
Published by DanielRosenwasser over 3 years ago
This release updates tslib to use TypeScript 4.4's upcoming __spreadArray
helper which correctly preserves sparse array inputs (e.g. arrays containing "missing" elements like [1, 2, , 4]
). This new version of __spreadArray
is backwards-compatible and is often also faster. See https://github.com/microsoft/tslib/pull/151 for more details.
Published by DanielRosenwasser over 3 years ago
This release supports TypeScript 4.3's new functionality for ECMAScript private methods and accessors, and private static class members.
It does so by expanding the scope of __classPrivateFieldGet
and __classPrivateFieldSet
. See https://github.com/microsoft/tslib/pull/146 for more details.
Published by DanielRosenwasser almost 4 years ago
This release adds a new __spreadArray
helper which avoids side-effects compared to the now-deprecated __spreadArrays
and __spread
helpers. See https://github.com/microsoft/tslib/pull/133 for more details.
This release also provides a more-specific error message when extending from a type which is not a function and not null. See https://github.com/microsoft/tslib/pull/138 for more details.
Published by orta about 4 years ago
Full discussion in the webpack issue
Published by orta about 4 years ago
Long discussion in the webpack issues
Published by orta about 4 years ago
This release adds support for using tslib in Node using esmodule imports, further context in #126 and the related issues.
Published by orta about 4 years ago
This release adds support for using tslib in Node using esmodule imports, further context in https://github.com/microsoft/tslib/pull/126 and the related issues.
Published by sandersn about 4 years ago
Published by DanielRosenwasser over 4 years ago
This release changes __exportStar
and __importStar
to use __createBinding
which is incompatible with versions of TypeScript older than 3.9 (i.e. 3.8 and below).