没有合适的资源?快使用搜索试试~ 我知道了~
hotypes:现实世界中TypeScript的更高订单类型
共66个文件
ts:53个
json:4个
js:3个
需积分: 9 0 下载量 9 浏览量
2021-03-17
14:55:41
上传
评论
收藏 130KB ZIP 举报
温馨提示
同型 现实世界中TypeScript的更高订单类型。 动机 这意味着,如果您不遵循实际的用例来创建高阶类型,则会创建许多无用的新宏。 有些人在遇到类型问题时会认为“我知道,我将使用高级类型”。 现在他们有两个类型问题。 这意味着高阶类型很困难,因此我们不应进一步使它们复杂化或迷惑。 安装 npm install --save hotypes # or yarn add hotypes 原料药 强烈建议您阅读测试用例,以确保您了解确切的类型。 ConsntructorReturnType 建设者 等于 ExcludeKeysStrict 排除键 排除可空 功能键 吸气剂 头 严格的 按键 最后的 MapNullablePropsToNonNullableProps MapNullablePropsToOptionalProps MapPropsStrict 地图道具 Non
资源推荐
资源详情
资源评论
收起资源包目录
hotypes-main.zip (66个子文件)
hotypes-main
tsconfig.build.json 189B
.github
workflows
nodejs.yml 446B
commitlint.config.js 68B
yarn.lock 272KB
.eslintrc.js 354B
src
constructor-return-type.ts 129B
getter.ts 32B
exclude-keys-strict.ts 140B
nullable-keys.ts 102B
map-nullable-props-to-optional-props.ts 298B
unpacked-promise.ts 72B
unpacked-promise-like.ts 80B
map-props.ts 211B
constructor.ts 65B
map-nullable-props-to-non-nullable-props.ts 233B
pick-non-never.ts 141B
unpacked-array-like.ts 82B
equals.ts 191B
function-keys.ts 111B
exclude-keys.ts 113B
unpacked-array.ts 68B
nullable.ts 47B
non-nullable-keys.ts 127B
map-props-strict.ts 171B
keys-strict.ts 171B
exclude-nullable.ts 62B
tail.ts 90B
head.ts 92B
last.ts 253B
keys.ts 116B
non-empty-array.ts 53B
tsconfig.base.json 257B
tsconfig.json 133B
LICENSE 1KB
jest.config.js 323B
__tests__
non-nullable-keys.spec.ts 350B
unpacked-array-like.spec.ts 636B
exclude-nullable.spec.ts 1KB
unpacked-promise.spec.ts 281B
equals.spec.ts 647B
utils.ts 414B
constructor.spec.ts 531B
unpacked-array.spec.ts 427B
map-props.spec.ts 799B
keys.spec.ts 561B
function-keys.spec.ts 244B
map-nullable-props-to-optional-props.spec.ts 593B
head.spec.ts 444B
last.spec.ts 443B
unpacked-promise-like.spec.ts 490B
nullable-keys.spec.ts 372B
nullable.spec.ts 190B
exclude-keys.spec.ts 565B
keys-strict.spec.ts 566B
pick-non-never.spec.ts 355B
tail.spec.ts 446B
getter.spec.ts 331B
map-props-strict.spec.ts 771B
non-empty-array.spec.ts 337B
constructor-return-type.spec.ts 339B
exclude-keys-strict.spec.ts 633B
map-nullable-props-to-non-nullable-props.spec.ts 498B
README.md 1KB
.gitignore 901B
.eslintignore 40B
package.json 2KB
共 66 条
- 1
资源评论
蓝精神
- 粉丝: 26
- 资源: 4721
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功