没有合适的资源?快使用搜索试试~ 我知道了~
arithmetic4:类型安全的咖喱算术函数
共46个文件
ts:14个
md:7个
json:6个
需积分: 8 0 下载量 52 浏览量
2021-04-11
15:52:23
上传
评论
收藏 314KB ZIP 举报
温馨提示
算术4 类型安全的咖喱算术函数 特征 提供ESM和UMD模块 纯文字打字机 超薄尺寸 咖喱 安装 npm i arithmetic4 or yarn add arithmetic4 原料药 类型 type Curried < T> = T extends undefined ? ( b : number ) => number : T extends number ? number : never 添加 将两个值相加。 类型 declare const add : < T xss=removed> ( a : number , b ?: T | undefined ) => Curried < T> 例子 import { add } from 'arithmetic4' add ( 1 , 2 )
资源推荐
资源详情
资源评论
收起资源包目录
arithmetic4-main.zip (46个子文件)
arithmetic4-main
.gitignore 2KB
.czrc 10KB
tsconfig.json 681B
README.md 3KB
CHANGELOG.md 786B
.github
workflows
release-docs.yml 994B
release.yml 4KB
codeql-analysis.yml 2KB
dependabot.yml 106B
ISSUE_TEMPLATE
bug_report.md 829B
feature_request.md 594B
jest.config.json 272B
rollup.config.ts 472B
test
add.spec.ts 398B
substract.spec.ts 436B
tsconfig.json 117B
divide.spec.ts 436B
utils.spec.ts 325B
multiply.spec.ts 425B
.prettierrc 87B
commitlint.config.js 2KB
.vscode
settings.json 152B
docs
guide
index.md 3KB
public
logo.png 131KB
favicon.ico 4KB
.vitepress
config.js 2KB
theme
custom.css 266B
index.ts 89B
index.md 478B
LICENSE 1KB
.eslintrc 550B
.gitattributes 50B
SECURITY.md 619B
.releaserc.json 744B
package.json 2KB
src
types.ts 113B
divide.ts 602B
substract.ts 638B
utils.ts 95B
add.ts 560B
index.ts 102B
multiply.ts 609B
.husky
.gitignore 2B
commit-msg 78B
.editorconfig 207B
yarn.lock 406KB
共 46 条
- 1
资源评论
神力锂电
- 粉丝: 27
- 资源: 4691
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功