Bump vite from 5.4.21 to 6.4.5 in /test (#300)
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
tslib
This is a runtime library for TypeScript that contains all of the TypeScript helper functions.
This library is primarily used by the
--importHelpersflag in TypeScript. When using--importHelpers, a module that uses helper functions like__extendsand__assignin the following emitted file:will instead be emitted as something like the following:
Because this can avoid duplicate declarations of things like
__extends,__assign, etc., this means delivering users smaller files on average, as well as less runtime overhead. For optimized bundles with TypeScript, you should absolutely consider usingtsliband--importHelpers.Installing
For the latest stable version, run:
npm
yarn
bower
JSPM
Usage
Set the
importHelperscompiler option on the command line:or in your tsconfig.json:
For bower and JSPM users
You will need to add a
pathsmapping fortslib, e.g. For Bower users:For JSPM users:
Deployment
Contribute
There are many ways to contribute to TypeScript.
Documentation