没有合适的资源?快使用搜索试试~ 我知道了~
json-schema-to-ts:根据JSON模式推断TS类型:memo:
共104个文件
ts:89个
json:3个
png:2个
需积分: 19 0 下载量 37 浏览量
2021-02-03
21:32:54
上传
评论
收藏 560KB ZIP 举报
温馨提示
如果您使用此仓库,请给它加注星标 :sparkles: 停止输入两次 :male_sign_selector: 许多项目使用JSON模式进行运行时数据验证,并使用TypeScript进行静态类型检查。 他们的代码可能如下所示: const dogSchema = { type : "object" , properties : { name : { type : "string" } , age : { type : "integer" } , hobbies : { type : "array" , items : { type : "string" } } , favoriteFood : { e
资源推荐
资源详情
资源评论
收起资源包目录
json-schema-to-ts:根据JSON模式推断TS类型:memo: (104个子文件)
logo.ai 254KB
.gitignore 17B
header-large.jpg 194KB
babel.config.js 133B
package.json 1KB
tsconfig.json 422B
settings.json 89B
LICENSE 1KB
yarn.lock 198KB
makefile 96B
README.md 11KB
.npmignore 96B
header-round-large.png 59KB
header-round-medium.png 27KB
allOf.test.ts 28KB
oneOf.test.ts 28KB
anyOf.test.ts 28KB
array.test.ts 14KB
object.test.ts 9KB
enum.test.ts 8KB
tuple.ts 6KB
const.test.ts 6KB
object.ts 6KB
enum.ts 5KB
mixed.test.ts 4KB
union.ts 4KB
array.ts 4KB
union.ts 4KB
not.test.ts 3KB
exclusion.ts 3KB
primitive.ts 3KB
const.ts 3KB
tuple.ts 3KB
array.ts 3KB
array.ts 3KB
merge.ts 2KB
object.ts 2KB
index.ts 2KB
object.ts 2KB
noSchema.test.ts 2KB
object.ts 2KB
index.ts 2KB
const.ts 2KB
index.ts 2KB
index.ts 1KB
helpers.ts 1KB
tuple.ts 1KB
object.ts 1KB
oneOf.ts 1KB
anyOf.ts 1KB
exclusion.ts 1KB
union.ts 1KB
enum.ts 1KB
array.ts 1KB
exclusion.ts 946B
const.ts 936B
allOf.ts 928B
jsonSchema6.ts 845B
primitive.ts 821B
tuple.ts 759B
boolean.test.ts 755B
index.ts 723B
enum.ts 706B
extends.ts 703B
get.ts 699B
index.ts 675B
concat.ts 631B
replace.ts 587B
integer.test.ts 579B
number.test.ts 575B
string.test.ts 561B
not.ts 545B
filter.ts 543B
null.test.ts 532B
mixed.ts 500B
error.ts 440B
never.ts 433B
concat.ts 432B
exclusion.ts 362B
reverse.ts 359B
enum.ts 350B
union.ts 332B
any.ts 309B
const.ts 297B
optionalProps.ts 295B
requiredProps.ts 295B
prettify.ts 284B
array.ts 276B
writeable.ts 261B
readonly.ts 255B
prepend.ts 255B
hasKeyIn.ts 242B
primitive.ts 235B
utils.ts 225B
tail.ts 223B
and.ts 221B
const.ts 208B
enum.ts 202B
error.ts 191B
head.ts 143B
共 104 条
- 1
- 2
资源评论
hsjdbdb
- 粉丝: 21
- 资源: 4586
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功