TypeScript库运行时Polyfill神器:ts-polyfill

ts-polyfill 是一个由core-js驱动的 TypeScript 运行时 polyfill,可以轻松为 TypeScript 库添加需要的 polyfill。

只需安装 npm install ts-polyfill,并修改项目 tsconfig.json 文件以添加所需的类型定义。根据目标和需求,选择所需的 polyfill,以最小化带宽消耗。

folder
ts-polyfill:TypeScript库的运行时polyfill,由core-js驱动! 预估大小:114个文件
file
.gitignore 19B
file
ts-polyfill.js 159KB
file
ts-polyfill.min.js 52KB
file
rollup.config.js 561B
file
es2015-reflect.js 644B
file
es2017-typed-arrays.js 513B
file
es2015-iterable.js 979B
file
es2019-string.js 238B
file
es2015-symbol-wellknown.js 830B
file
es2018-async-iterable.js 122B
file
es2019-array.js 149B
file
es2016-array-include.js 159B
file
es2017-string.js 155B
file
index.js 457B
file
es2015-core.js 3KB
file
es2015-collection.js 195B
file
es2019-object.js 120B
file
es2015-symbol.js 403B
file
es2017-object.js 211B
file
.gitattributes 113B
zip 文件大小:372.31KB