tslib
tslib copied to clipboard
Runtime library for TypeScript helpers.
such a code with property decorator usage: ```js class Controller { name = 'xx'; @inject(Store) store: any = null; } ``` after a tsc compiling: ```js var Controller = /**...
Introducing support for `tslib` in TS 2.1 is great as we can now easily use up-to-date TS helpers without maintaining our own copy of the source files from github. 😄...
I can bring `__awaiter` from https://github.com/Microsoft/TypeScript/pull/12300 here. Will it be useful in tslib.es6.js?
Bumps the github-actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node) and [github/codeql-action](https://github.com/github/codeql-action). Updates `actions/setup-node` from 4.0.1 to 4.0.2 Release notes Sourced from actions/setup-node's releases. v4.0.2 What's Changed Add support for volta.extends by...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.8.0 to 2.9.17. Changelog Sourced from vite's changelog. 2.9.17 (2024-01-19) fix: port #15653 to v3 (#15655) (0cd769c), closes #15653 #15655 2.9.16 (2023-05-26) fix: port #13348 to v2,...
We are attempting to upgrade to the latest version of tslib but ran into an issue with IE11. We are targeting `["web", "es5"]` in our webpack.config.js. We are also have...
Based on the benchmark, the "for in" loop appears to be 10% slower than the "for" loop. Does it make sense to replace all instances of "for in"? https://jsben.ch/kxBxv
Fixes #210 cc @ianlewis if this looks about right to you - obviously aren't really able to test this completely outside of an actual github action.
We've observed new behavior after upgrading our code to TypeScript 5.0. Specifically, TS5.0 emits calls to a new tslib helper function `__setFunctionName`. This in turn calls `Object.defineProperty(x, "name", ...)` on...