Skip to content

tslib 2.3.0

Compare
Choose a tag to compare
@DanielRosenwasser DanielRosenwasser released this 11 Jun 22:33
· 97 commits to main since this release

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 #151 for more details.