没有合适的资源?快使用搜索试试~ 我知道了~
typewiz:在TypeScript代码中自动发现并添加缺少的类型
共69个文件
ts:36个
json:17个
md:7个
需积分: 5 0 下载量 87 浏览量
2021-01-28
17:47:38
上传
评论
收藏 171KB ZIP 举报
温馨提示
TypeWiz 在TypeScript代码中自动发现并添加缺少的类型。 介绍 TypeWiz在运行时监视变量类型,并使用此信息将缺失的类型注释添加到TypeScript代码中。 例如,给定以下源代码作为输入: function add ( a , b ) { return a + b ; } add ( 5 , 6 ) ; TypeWiz将自动检测a和b的类型为number ,并将重写为以下代码: function add ( a : number , b : number ) { return a + b ; } add ( 5 , 6 ) ; 您可以在博客文章中了解有关该项目的更多信息: 用法 有关前端代码,请查看。 对于node.js代码,请查看 。 要从命令行使用TypeWiz,请尝试使用 。 如果您对创建自己的自定义集成感兴趣,请参阅,以获取有关如何直接使用TypeWiz API的示例。 您可以通过将此库添加到项目中来直接使用API: yarn add -D typewiz-core 要么 npm install --save-dev
资源推荐
资源详情
资源评论
收起资源包目录
typewiz-master.zip (69个子文件)
typewiz-master
.gitignore 57B
tsconfig.json 540B
README.md 4KB
lerna.json 133B
packages
typewiz-webpack
tsconfig.json 156B
README.md 3KB
package.json 758B
src
loader.ts 1KB
plugin.ts 2KB
middleware.ts 365B
index.ts 227B
typewiz-angular
tsconfig.json 208B
README.md 2KB
package.json 724B
src
patch-angular.ts 4KB
collection.json 245B
patch-angular.spec.ts 6KB
cli.ts 79B
install
index.spec.ts 3KB
schema.ts 93B
index.ts 2KB
typewiz-core
tsconfig.json 219B
package.json 564B
src
compiler-helper.ts 1KB
transformer.ts 12KB
compiler-helper.spec.ts 1KB
README.md 713B
typewiz-error.ts 43B
type-coverage.ts 1KB
type-collector-snippet.ts 5KB
configuration-parser.spec.ts 7KB
type-coverage.spec.ts 2KB
type-collector.ts 545B
integration.spec.ts 16KB
apply-types.ts 3KB
configuration-parser.ts 3KB
index.ts 234B
replacement.ts 814B
test-utils
transpile.ts 2KB
typewiz.json 2KB
type-collector-snippet.spec.ts 8KB
instrument.spec.ts 4KB
instrument.ts 1KB
jest.config.js 353B
typewiz-node
tsconfig.json 156B
README.md 1KB
package.json 634B
src
typewiz-node.ts 183B
index.ts 1KB
node-register.ts 1KB
register.ts 49B
typewiz
tsconfig.json 219B
README.md 5KB
fixtures
tsconfig.json 95B
coverage-test.ts 86B
instrument-test.ts 32B
package.json 749B
src
cli.spec.ts 1KB
cli.ts 3KB
jest.config.js 353B
wallaby.js 1KB
package.json 1KB
tslint.json 195B
CONTRIBUTING.md 2KB
prettier.config.js 283B
.travis.yml 211B
.editorconfig 230B
yarn.lock 288KB
assets
typewiz.png 12KB
共 69 条
- 1
资源评论
没名字的女人
- 粉丝: 29
- 资源: 4712
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 适用于中小型游戏的通用排行榜后台系统.zip
- 一秒99条的短信接口.zip
- 基于jsp+servlet+mysql的javaweb健身房俱乐部系统
- 110_c6ce6db7048c08aee35a7a2675732d54.apk (1).1
- sql查询数据库表结构(sql server适用)
- HTTP CLENT处理加密证书程序参考
- update9-20240601.5.205.slice.img.7z.002
- 微信小程序优惠券页面前端模板源码
- 林子雨编著《Spark编程基础(Python版)》 实验7 Spark机器学习库MLib编程实践数据
- 一种支持微信文本限制长度限制使用的,在合适的位置截取限制字节长度的字符串子串的java算法
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功