<div align="center">
<br>
<br>
<img src="media/logo.svg" alt="type-fest" height="300">
<br>
<br>
<b>A collection of essential TypeScript types</b>
<br>
<br>
<br>
<br>
<hr>
<div align="center">
<p>
<p>
<sup>
<a href="https://github.com/sponsors/sindresorhus">Sindre Sorhus' open source work is supported by the community</a>
</sup>
</p>
<sup>Special thanks to:</sup>
<br>
<br>
<a href="https://standardresume.co/tech">
<img src="https://sindresorhus.com/assets/thanks/standard-resume-logo.svg" width="180"/>
</a>
<br>
<br>
<br>
<a href="https://workos.com/?utm_campaign=github_repo&utm_medium=referral&utm_content=type-fest&utm_source=github">
<div>
<img src="https://sindresorhus.com/assets/thanks/workos-logo-white-bg.svg" width="220" alt="WorkOS">
</div>
<b>Your app, enterprise-ready.</b>
<div>
<sub>Start selling to enterprise customers with just a few lines of code.</sub>
<br>
<sup>Add Single Sign-On (and more) in minutes instead of months.</sup>
</div>
</a>
<br>
<br>
<br>
<a href="https://transloadit.com?utm_source=sindresorhus&utm_medium=referral&utm_campaign=sponsorship&utm_content=type-fest">
<picture>
<source width="350" media="(prefers-color-scheme: dark)" srcset="https://sindresorhus.com/assets/thanks/transloadit-logo-dark.svg">
<source width="350" media="(prefers-color-scheme: light)" srcset="https://sindresorhus.com/assets/thanks/transloadit-logo.svg">
<img width="350" src="https://sindresorhus.com/assets/thanks/transloadit-logo.svg" alt="Transloadit logo">
</picture>
</a>
<br>
<br>
</p>
</div>
<br>
<hr>
</div>
<br>
<br>
[![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://giphy.com/gifs/illustration-rainbow-unicorn-26AHG5KGFxSkUWw1i)
[![npm dependents](https://badgen.net/npm/dependents/type-fest)](https://www.npmjs.com/package/type-fest?activeTab=dependents)
[![npm downloads](https://badgen.net/npm/dt/type-fest)](https://www.npmjs.com/package/type-fest)
Many of the types here should have been built-in. You can help by suggesting some of them to the [TypeScript project](https://github.com/Microsoft/TypeScript/blob/main/CONTRIBUTING.md).
Either add this package as a dependency or copy-paste the needed types. No credit required. ����
PR welcome for additional commonly needed types and docs improvements. Read the [contributing guidelines](.github/contributing.md) first.
**Help wanted with reviewing [proposals](https://github.com/sindresorhus/type-fest/issues) and [pull requests](https://github.com/sindresorhus/type-fest/pulls).**
## Install
```sh
npm install type-fest
```
*Requires TypeScript >=5.1*
*Works best with [`{strict: true}`](https://www.typescriptlang.org/tsconfig#strict) in your tsconfig.*
## Usage
```ts
import type {Except} from 'type-fest';
type Foo = {
unicorn: string;
rainbow: boolean;
};
type FooWithoutRainbow = Except<Foo, 'rainbow'>;
//=> {unicorn: string}
```
## API
Click the type names for complete docs.
### Basic
- [`Primitive`](source/primitive.d.ts) - Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
- [`Class`](source/basic.d.ts) - Matches a [`class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).
- [`Constructor`](source/basic.d.ts) - Matches a [`class` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).
- [`AbstractClass`](source/basic.d.ts) - Matches an [`abstract class`](https://www.typescriptlang.org/docs/handbook/classes.html#abstract-classes).
- [`AbstractConstructor`](source/basic.d.ts) - Matches an [`abstract class`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-2.html#abstract-construct-signatures) constructor.
- [`TypedArray`](source/typed-array.d.ts) - Matches any [typed array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray), like `Uint8Array` or `Float64Array`.
- [`ObservableLike`](source/observable-like.d.ts) - Matches a value that is like an [Observable](https://github.com/tc39/proposal-observable).
### Utilities
- [`EmptyObject`](source/empty-object.d.ts) - Represents a strictly empty plain object, the `{}` value.
- [`IsEmptyObject`](source/empty-object.d.ts) - Returns a `boolean` for whether the type is strictly equal to an empty plain object, the `{}` value.
- [`NonEmptyObject`](source/non-empty-object.d.ts) - Represents an object with at least 1 non-optional key.
- [`UnknownRecord`](source/unknown-record.d.ts) - Represents an object with `unknown` value. You probably want this instead of `{}`.
- [`Except`](source/except.d.ts) - Create a type from an object type without certain keys. This is a stricter version of [`Omit`](https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys).
- [`Writable`](source/writable.d.ts) - Create a type that strips `readonly` from all or some of an object's keys. The inverse of `Readonly<T>`.
- [`WritableDeep`](source/writable-deep.d.ts) - Create a deeply mutable version of an `object`/`ReadonlyMap`/`ReadonlySet`/`ReadonlyArray` type. The inverse of `ReadonlyDeep<T>`. Use `Writable<T>` if you only need one level deep.
- [`Merge`](source/merge.d.ts) - Merge two types into a new type. Keys of the second type overrides keys of the first type.
- [`MergeDeep`](source/merge-deep.d.ts) - Merge two objects or two arrays/tuples recursively into a new type.
- [`MergeExclusive`](source/merge-exclusive.d.ts) - Create a type that has mutually exclusive keys.
- [`OverrideProperties`](source/override-properties.d.ts) - Override only existing properties of the given type. Similar to `Merge`, but enforces that the original type has the properties you want to override.
- [`RequireAtLeastOne`](source/require-at-least-one.d.ts) - Create a type that requires at least one of the given keys.
- [`RequireExactlyOne`](source/require-exactly-one.d.ts) - Create a type that requires exactly a single key of the given keys and disallows more.
- [`RequireAllOrNone`](source/require-all-or-none.d.ts) - Create a type that requires all of the given keys or none of the given keys.
- [`RequireOneOrNone`](source/require-one-or-none.d.ts) - Create a type that requires exactly a single key of the given keys and disallows more, or none of the given keys.
- [`RequiredDeep`](source/required-deep.d.ts) - Create a deeply required version of another type. Use [`Required<T>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype) if you only need one level deep.
- [`OmitIndexSignature`](source/omit-index-signature.d.ts) - Omit any index signatures from the given object type, leaving only explicitly defined properties.
- [`PickIndexSignature`](source/pick-index-signature.d.ts) - Pick only index signatures from the given object type, leaving out all explicitly defined properties.
- [`PartialDeep`](source/partial-deep.d.ts) - Create a deeply optional version of another type. Use [`Partial<T>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype) if you only need one level deep.
- [`PartialOnUndefinedDeep`](source/partial-on-undefined-deep.d.ts) - Create a deep version of another type where all keys accepting `undefined` type are set to optional.
- [`UndefinedOnPartialDeep`](source/undefined-on-partial-deep.d.ts) - Create a deep version of another type where all optional keys are set to also accept `undefined`.
- [`ReadonlyDeep`](source/readonly-deep.d.ts) - Create a deeply immutable version of an `object`/`Map`/`Set`/`Array` type. Use [`Readonly<T>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype) if you only need one level deep.
- [`LiteralUnion`](source/literal-union.d.ts) - Create a union type by combining primitive types and literal types without sacrificing auto-completion in IDEs for the literal type part of the union. Workaround for [Microsoft/TypeScript#29729
没有合适的资源?快使用搜索试试~ 我知道了~
Vue搭建AudioPlaySation(三)
共2000个文件
js:1620个
json:197个
md:176个
需积分: 5 0 下载量 47 浏览量
2024-11-16
14:09:06
上传
评论
收藏 205.53MB ZIP 举报
温馨提示
Vue搭建AudioPlaySation(三)
资源推荐
资源详情
资源评论
收起资源包目录
Vue搭建AudioPlaySation(三) (2000个子文件)
style.css 1KB
index.html 281B
tsserverlibrary.js 8.57MB
tsserver.js 8.1MB
typescript.js 7.94MB
tsc.js 5.51MB
dep-bb8a8339.js 2.1MB
typingsInstaller.js 1.66MB
rollup.js 1003KB
node-entry.js 1000KB
compiler-sfc.js 643KB
compiler-sfc.js 643KB
index.js 479KB
vue.global.js 466KB
vue.esm-browser.js 438KB
vue.js 424KB
vue.esm.js 409KB
vue.common.dev.js 390KB
vue.esm.browser.js 388KB
browser.js 333KB
vue.runtime.global.js 324KB
runtime-dom.global.js 323KB
dep-f0c7dae0.js 322KB
chunk-PBWN42R4.js 310KB
vue.runtime.js 308KB
vue.runtime.esm-browser.js 300KB
runtime-dom.esm-browser.js 300KB
vue.runtime.esm.js 297KB
vue.runtime.common.dev.js 284KB
source-map.debug.js 266KB
runtime-core.esm-bundler.js 233KB
runtime-core.cjs.js 226KB
build.js 222KB
dep-98d4beff.js 222KB
server-renderer.esm-browser.js 216KB
runtime-core.cjs.prod.js 176KB
compiler-dom.global.js 168KB
compiler-core.cjs.js 160KB
compiler-core.cjs.prod.js 155KB
vue-router.global.js 155KB
compiler-dom.esm-browser.js 154KB
vue-router.esm-browser.js 142KB
compiler-core.esm-bundler.js 139KB
vue.esm-browser.prod.js 132KB
vue.global.prod.js 129KB
watch.js 128KB
index.js 119KB
vue.min.js 105KB
source-map.js 104KB
vue.esm.browser.min.js 102KB
vue.common.prod.js 102KB
he.js 99KB
index.js 93KB
vue-router.js 90KB
main.js 86KB
vue.runtime.esm-browser.prod.js 85KB
runtime-dom.esm-browser.prod.js 85KB
vue.runtime.global.prod.js 84KB
runtime-dom.global.prod.js 84KB
pinia.iife.js 81KB
full-versions.js 74KB
vue.runtime.min.js 74KB
vue.runtime.common.prod.js 73KB
pinia.esm-browser.js 71KB
template.js 69KB
compiler-dom.cjs.js 65KB
compiler-dom.cjs.prod.js 64KB
server-renderer.esm-browser.prod.js 59KB
index.js 57KB
compiler-dom.esm-browser.prod.js 57KB
compiler-dom.global.prod.js 57KB
helpers.js 56KB
core.js 54KB
full-chromium-versions.js 52KB
index.js 50KB
index.js 48KB
index.js 48KB
pinia.js 46KB
runtime-dom.esm-bundler.js 45KB
runtime-dom.cjs.js 44KB
index.js 44KB
semver.js 43KB
compiler-ssr.cjs.js 43KB
script.js 41KB
import-meta-resolve.js 41KB
runtime-dom.cjs.prod.js 41KB
source-map-consumer.js 41KB
magic-string.umd.js 40KB
helpers-generated.js 40KB
source-map-consumer.js 40KB
index.js 39KB
index.js 38KB
reactivity.global.js 37KB
magic-string.cjs.js 36KB
uppercase.js 35KB
reactivity.esm-browser.js 34KB
reactivity.esm-bundler.js 33KB
reactivity.cjs.js 33KB
index.js 33KB
index.min.js 31KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
Aspirin2023
- 粉丝: 0
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- PHPThinkphp+Vue2.0前后端分离框架通用后台源码数据库 MySQL源码类型 WebForm
- 构建一个大模型训练、微调、评估、推理、部署的全流程开发套件,基于MindSpore内置的并行技术和组件化设计
- 基于SpringCloud+Vue的财务数据管理系统(后端代码)
- 基于SpringBoot+Vue的在线课程管理系统(前端代码)
- 基于SpringBoot+Vue的在线课程管理系统(后端代码)
- MindInsight为MindSpore提供了简单易用的调优调试能力 用于模型优化的可视化仪表板
- 野火霸道开发板485原工程
- 国产化自主可控的人工智能开源平台 平台面向人工智能研究中的数据处理、算法开发、模型训练、算力管理和推理应用等各个流程的技术难点
- 基于Springboot+Vue的江西红色旅游景点宣传网站(后端代码)
- 基于Springboot+Vue的江西红色旅游景点宣传网站(管理端代码)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功