common-types:用于TypeScript项目的可重用的通用类型库

时间:2021-03-31 17:49:00
【文件属性】:
文件名称:common-types:用于TypeScript项目的可重用的通用类型库
文件大小:129KB
文件格式:ZIP
更新时间:2021-03-31 17:49:00
TypeScript @ skypilot / common-types TypeScript项目的可重用通用类型库 出口产品 便利别名 type AnyRecord = Record < string> // Describes an object without properties type EmptyObject = { [ key : string ] : never ; [ key : number ] : never } 仿真类型 interface Class < T> extends Function { new ( ... args : any [ ] ) : T } type Enum < E> = Record < keyof> & { [ key : number ] : string } type Primitive
【文件预览】:
common-types-next
----.gitignore(701B)
----jest.integration.config.js(133B)
----tsconfig.json(257B)
----README.md(4KB)
----.nvmrc(6B)
----jest.standalone.config.js(145B)
----CHANGELOG.md(11KB)
----.github()
--------workflows()
----.skypilot()
--------quick-release.yaml(413B)
----LICENSE(750B)
----package.json(2KB)
----.lintstagedrc.js(75B)
----src()
--------unpacked.ts(802B)
--------emulation.ts(316B)
--------pseudo.ts(336B)
--------function.ts(266B)
--------__tests__()
--------utility.ts(1KB)
--------template-literals.ts(565B)
--------scripts()
--------index.ts(224B)
--------alias.ts(175B)
--------json.ts(1KB)
----jest.config.js(323B)
----tsconfig.generate-typings.json(332B)
----.eslintignore(51B)
----.huskyrc.js(117B)
----.editorconfig(210B)
----babel.config.js(75B)
----yarn.lock(277KB)
----.eslintrc.js(82B)

网友评论