1. 首页
  2. 数据库
  3. 其它
  4. 期望:使用TypeScript编写的提供参数验证的Node.js库 源码

期望:使用TypeScript编写的提供参数验证的Node.js库 源码

上传者: 2021-02-23 11:45:06上传 ZIP文件 98.87KB 热度 7次
@ fantasticfiasco /期望 用TypeScript编写的提供参数验证的Node.js库。 目录 超级简单易用 import * as expect from '@fantasticfiasco/expect' ; function update ( person ) { expect . toExist ( person . name ) ; expect . toBeTrue ( person . age >= 0 , 'existential theories are not up for discussion' ) ; // Squint you
下载地址
用户评论