没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
babel插件React流道具到道具类型 将Flow React道具注释转换为PropTypes 支持大多数流量类型(见下文) 维持评论 跨模块工作(可以导入类型) 支持的: any/mixed未知类型 void/null空类型 number / string / boolean元 42 / "hello" / true文字 [1, 2, 3]元组 { ... }对象 { prop: number }对象属性 { prop?: number }可选属性 { [prop: string]: number }可选索引器 { [key: string]: number }对象索引器 Array<string>数组 Object未知对象 Function未知功能 RegExp正则表达式 boolean | string boolean | string { foo: number } & { bar: string }交叉点 引用其他类型: type Alias = number -类型别名 interface Stuff {} -接口 class Thing {} -类声明 im
资源推荐
资源详情
资源评论
收起资源包目录
babel-plugin-react-flow-props-to-prop-types-master.zip (28个子文件)
babel-plugin-react-flow-props-to-prop-types-master
.travis.yml 63B
.babelrc 80B
.flowconfig 39B
package.json 2KB
LICENSE 558B
src
index.js 2KB
__tests__
classes.test.js 18KB
error.js 267B
findPropsClassProperty.js 435B
types.js 420B
matchExported.js 1KB
convertTypeToPropTypes.js 12KB
.gitignore 32B
README.md 3KB
yarn.lock 118KB
fixtures
imports
other.js 51B
output.js 199B
another.js 19B
code.js 95B
import-type-as
other.js 24B
output.js 204B
code.js 101B
import-class
other.js 26B
output.js 197B
code.js 89B
import-type-for-top-level-intersection
other.js 34B
output.js 238B
code.js 100B
共 28 条
- 1
资源评论
狛绝的追随者
- 粉丝: 24
- 资源: 4611
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功