espower-typescript:用于TypeScript的电源断言工具

时间:2021-05-25 09:03:08
【文件属性】:
文件名称:espower-typescript:用于TypeScript的电源断言工具
文件大小:52KB
文件格式:ZIP
更新时间:2021-05-25 09:03:08
typescript power-assert TypeScript espower打字稿 用于TypeScript的电源断言工具 TypeScript版本 espower-typescript v10.x与TypeScript v2.7 +兼容 用法(零配置模式) 安装 $ npm install -D espower-typescript power-assert mocha typescript @types/node @types/mocha 创建一个测试文件(故意失败) // test/test.ts import assert = require ( 'assert' ) ; describe ( 'Array#join' , ( ) => { it ( 'joins all elements into a string with separator' , ( ) => { assert ( [ 'a' , 'b' , 'c'
【文件预览】:
espower-typescript-master
----.eslintrc.json(93B)
----.github()
--------workflows()
----tsconfig.json(163B)
----test()
--------to_be_instrumented_test.tsx(598B)
--------demo-es6-import.ts(569B)
--------lib()
--------test-allow-js()
--------to_be_instrumented_test.ts(2KB)
--------test-outdir()
--------demo.ts(781B)
----README.md(3KB)
----guess.js(1KB)
----.gitignore(54B)
----index.js(1KB)
----package-lock.json(144KB)
----package.json(2KB)

网友评论