UNPKG

type-fest

Version:

A collection of essential TypeScript types

332 lines (326 loc) • 21 kB
// Basic export type * from './source/primitive.d.ts'; export type * from './source/typed-array.d.ts'; export type * from './source/basic.d.ts'; export type * from './source/json-value.d.ts'; export type * from './source/characters.d.ts'; // Utilities export type {KeysOfUnion} from './source/keys-of-union.d.ts'; export type {DistributedOmit} from './source/distributed-omit.d.ts'; export type {DistributedPick} from './source/distributed-pick.d.ts'; export type {EmptyObject, IsEmptyObject} from './source/empty-object.d.ts'; export type {EmptyArray} from './source/empty-array.d.ts'; export type {NonEmptyObject} from './source/non-empty-object.d.ts'; export type {NonEmptyString} from './source/non-empty-string.d.ts'; export type {UnknownRecord} from './source/unknown-record.d.ts'; export type {UnknownArray} from './source/unknown-array.d.ts'; export type {UnknownSet} from './source/unknown-set.d.ts'; export type {UnknownMap} from './source/unknown-map.d.ts'; export type {UnknownCollection} from './source/unknown-collection.d.ts'; export type {Except, ExceptOptions} from './source/except.d.ts'; export type {TaggedUnion} from './source/tagged-union.d.ts'; export type {Writable} from './source/writable.d.ts'; export type {WritableDeep, WritableDeepOptions} from './source/writable-deep.d.ts'; export type {Merge} from './source/merge.d.ts'; export type {MergeAll} from './source/merge-all.d.ts'; export type {ObjectMerge} from './source/object-merge.d.ts'; export type {MergeDeep, MergeDeepOptions} from './source/merge-deep.d.ts'; export type {MergeExclusive} from './source/merge-exclusive.d.ts'; export type {Modify} from './source/modify.d.ts'; export type {ModifyDeep} from './source/modify-deep.d.ts'; export type {RequireAtLeastOne} from './source/require-at-least-one.d.ts'; export type {RequireExactlyOne} from './source/require-exactly-one.d.ts'; export type {RequireAllOrNone} from './source/require-all-or-none.d.ts'; export type {RequireOneOrNone} from './source/require-one-or-none.d.ts'; export type {RequireNone} from './source/require-none.d.ts'; export type {SingleKeyObject} from './source/single-key-object.d.ts'; export type {OmitIndexSignature} from './source/omit-index-signature.d.ts'; export type {PickIndexSignature} from './source/pick-index-signature.d.ts'; export type {PickWritable} from './source/pick-writable.d.ts'; export type {PickReadonly} from './source/pick-readonly.d.ts'; export type {PickNonNever} from './source/pick-non-never.d.ts'; export type {PartialDeep, PartialDeepOptions} from './source/partial-deep.d.ts'; export type {UnwrapPartial} from './source/unwrap-partial.d.ts'; export type {UnwrapRequired} from './source/unwrap-required.d.ts'; export type {RequiredDeep, RequiredDeepOptions} from './source/required-deep.d.ts'; export type {RequiredKeepUndefined} from './source/required-keep-undefined.d.ts'; export type {RequiredNonNullable} from './source/required-non-nullable.d.ts'; export type {PickDeep} from './source/pick-deep.d.ts'; export type {OmitDeep} from './source/omit-deep.d.ts'; export type {UndefinedToOptional} from './source/undefined-to-optional.d.ts'; export type {PartialOnUndefined} from './source/partial-on-undefined.d.ts'; export type {PartialOnUndefinedDeep, PartialOnUndefinedDeepOptions} from './source/partial-on-undefined-deep.d.ts'; export type {UndefinedOnPartial} from './source/undefined-on-partial.d.ts'; export type {UndefinedOnPartialDeep} from './source/undefined-on-partial-deep.d.ts'; export type {UndefinableDeep, UndefinableDeepOptions} from './source/undefinable-deep.d.ts'; export type {ReadonlyDeep, ReadonlyDeepOptions} from './source/readonly-deep.d.ts'; export type {ReadonlyDate} from './source/readonly-date.d.ts'; export type {LiteralUnion} from './source/literal-union.d.ts'; export type {ExtractLiterals} from './source/extract-literals.d.ts'; export type {CollapseLiterals} from './source/collapse-literals.d.ts'; export type {LiteralList} from './source/literal-list.d.ts'; export type {Promisable} from './source/promisable.d.ts'; export type {Arrayable} from './source/arrayable.d.ts'; export type {Thunkable} from './source/thunkable.d.ts'; export type {Optional} from './source/optional.d.ts'; export type {Falsy} from './source/falsy.d.ts'; export type {Truthy} from './source/truthy.d.ts'; export type {Opaque, UnwrapOpaque, Tag, Tagged, GetTagMetadata, UnwrapTagged} from './source/tagged.d.ts'; export type {Flavor} from './source/flavor.d.ts'; export type {UnwrapBrandedPrimitive} from './source/unwrap-branded-primitive.d.ts'; export type {InvariantOf} from './source/invariant-of.d.ts'; export type {SetOptional} from './source/set-optional.d.ts'; export type {SetOptionalDeep} from './source/set-optional-deep.d.ts'; export type {SetOptionalExcept} from './source/set-optional-except.d.ts'; export type {SetReadonly} from './source/set-readonly.d.ts'; export type {SetRequired} from './source/set-required.d.ts'; export type {SetRequiredDeep} from './source/set-required-deep.d.ts'; export type {SetRequiredExcept} from './source/set-required-except.d.ts'; export type {SetRequiredNonNullable} from './source/set-required-non-nullable.d.ts'; export type {SetNonNullable} from './source/set-non-nullable.d.ts'; export type {SetNullable} from './source/set-nullable.d.ts'; export type {SetNonNullableDeep} from './source/set-non-nullable-deep.d.ts'; export type {NonNullableDeep, NonNullableDeepOptions} from './source/non-nullable-deep.d.ts'; export type {ValueOf} from './source/value-of.d.ts'; export type {ValueOfDeep} from './source/value-of-deep.d.ts'; export type {AsyncReturnType} from './source/async-return-type.d.ts'; export type {ConditionalExcept} from './source/conditional-except.d.ts'; export type {ConditionalKeys, ConditionalKeysOptions} from './source/conditional-keys.d.ts'; export type {IncompatibleKeys} from './source/incompatible-keys.d.ts'; export type {ConditionalPick} from './source/conditional-pick.d.ts'; export type {ConditionalPickDeep, ConditionalPickDeepOptions} from './source/conditional-pick-deep.d.ts'; export type {ExcludeValues} from './source/exclude-values.d.ts'; export type {ExtractValues} from './source/extract-values.d.ts'; export type {UnionToIntersection} from './source/union-to-intersection.d.ts'; export type {Stringified} from './source/stringified.d.ts'; export type {StringSlice} from './source/string-slice.d.ts'; export type {FixedLengthArray} from './source/fixed-length-array.d.ts'; export type {MultidimensionalArray} from './source/multidimensional-array.d.ts'; export type {MultidimensionalReadonlyArray} from './source/multidimensional-readonly-array.d.ts'; export type {IterableElement} from './source/iterable-element.d.ts'; export type {MapKey} from './source/map-key.d.ts'; export type {MapValue} from './source/map-value.d.ts'; export type {Entry, ObjectEntry} from './source/entry.d.ts'; export type {Entries, ObjectEntries} from './source/entries.d.ts'; export type {FromEntries} from './source/from-entries.d.ts'; export type {InvertRecord} from './source/invert-record.d.ts'; export type {Curry} from './source/curry.d.ts'; export type {Pipe} from './source/pipe.d.ts'; export type {PartialApply} from './source/partial-apply.d.ts'; export type {Uncurry} from './source/uncurry.d.ts'; export type {SetReturnType} from './source/set-return-type.d.ts'; export type {SetParameterType} from './source/set-parameter-type.d.ts'; export type {FunctionParameters} from './source/function-parameters.d.ts'; export type {Overloads} from './source/overloads.d.ts'; export type {HasMultipleCallSignatures} from './source/has-multiple-call-signatures.d.ts'; export type {OverloadParameters} from './source/overload-parameters.d.ts'; export type {OverloadReturnType} from './source/overload-return-type.d.ts'; export type {GuardedType} from './source/guarded-type.d.ts'; export type {RequireArity} from './source/require-arity.d.ts'; export type {Asyncify} from './source/asyncify.d.ts'; export type {Simplify} from './source/simplify.d.ts'; export type {SimplifyDeep} from './source/simplify-deep.d.ts'; export type {SimplifyUnion} from './source/simplify-union.d.ts'; export type {AsExtendable} from './source/as-extendable.d.ts'; export type {Jsonify} from './source/jsonify.d.ts'; export type {Jsonifiable, JsonifiableObject, JsonifiableArray, JsonifiableValue} from './source/jsonifiable.d.ts'; export type {JsonPointer, JsonPointerOptions} from './source/json-pointer.d.ts'; export type {StructuredCloneable} from './source/structured-cloneable.d.ts'; export type {Schema, SchemaOptions} from './source/schema.d.ts'; export type {LiteralToPrimitive} from './source/literal-to-primitive.d.ts'; export type {LiteralToPrimitiveDeep} from './source/literal-to-primitive-deep.d.ts'; export type {SubstituteDeep} from './source/substitute-deep.d.ts'; export type { PositiveInfinity, NegativeInfinity, Finite, Integer, Float, NegativeFloat, Negative, NonNegative, NegativeInteger, NonNegativeInteger, IsNegative, } from './source/numeric.d.ts'; export type {NonNegativeIntegerString} from './source/non-negative-integer-string.d.ts'; export type {GreaterThan} from './source/greater-than.d.ts'; export type {GreaterThanOrEqual} from './source/greater-than-or-equal.d.ts'; export type {LessThan} from './source/less-than.d.ts'; export type {LessThanOrEqual} from './source/less-than-or-equal.d.ts'; export type {Sum} from './source/sum.d.ts'; export type {Subtract} from './source/subtract.d.ts'; export type {UnionMax} from './source/union-max.d.ts'; export type {UnionMin} from './source/union-min.d.ts'; export type {TupleMax} from './source/tuple-max.d.ts'; export type {TupleMin} from './source/tuple-min.d.ts'; export type {MatchingKey} from './source/matching-key.d.ts'; export type {PropertyValue} from './source/property-value.d.ts'; export type {KeyAsString} from './source/key-as-string.d.ts'; export type {Exact} from './source/exact.d.ts'; export type {OverrideProperties} from './source/override-properties.d.ts'; export type {OverridePropertiesDeep} from './source/override-properties-deep.d.ts'; export type {RenameKeys} from './source/rename-keys.d.ts'; export type {OptionalKeysOf} from './source/optional-keys-of.d.ts'; export type {DefaultsFor} from './source/defaults-for.d.ts'; export type {ApplyDefaultOptions} from './source/apply-default-options.d.ts'; export type {IsOptionalKeyOf} from './source/is-optional-key-of.d.ts'; export type {HasOptionalKeys} from './source/has-optional-keys.d.ts'; export type {RequiredKeysOf} from './source/required-keys-of.d.ts'; export type {IsRequiredKeyOf} from './source/is-required-key-of.d.ts'; export type {HasRequiredKeys} from './source/has-required-keys.d.ts'; export type {ReadonlyKeysOf} from './source/readonly-keys-of.d.ts'; export type {IsReadonlyKeyOf} from './source/is-readonly-key-of.d.ts'; export type {HasReadonlyKeys} from './source/has-readonly-keys.d.ts'; export type {WritableKeysOf} from './source/writable-keys-of.d.ts'; export type {IsWritableKeyOf} from './source/is-writable-key-of.d.ts'; export type {HasWritableKeys} from './source/has-writable-keys.d.ts'; export type {Spread} from './source/spread.d.ts'; export type {SplitOnRestElement, SplitOnRestElementOptions} from './source/split-on-rest-element.d.ts'; export type {ExtractRestElement} from './source/extract-rest-element.d.ts'; export type {ExcludeRestElement} from './source/exclude-rest-element.d.ts'; export type {IsInteger} from './source/is-integer.d.ts'; export type {IsFloat} from './source/is-float.d.ts'; export type {IsNumberLike} from './source/is-number-like.d.ts'; export type {IsNumericString} from './source/is-numeric-string.d.ts'; export type {TupleToObject} from './source/tuple-to-object.d.ts'; export type {ObjectToTuple} from './source/object-to-tuple.d.ts'; export type {ObjectToUnion} from './source/object-to-union.d.ts'; export type {ArrayToRecord} from './source/array-to-record.d.ts'; export type {ArrayZip} from './source/array-zip.d.ts'; export type {ArrayChunk} from './source/array-chunk.d.ts'; export type {ArrayGroupBy} from './source/array-group-by.d.ts'; export type {ArrayUnique} from './source/array-unique.d.ts'; export type {TupleToEnum, TupleToEnumOptions} from './source/tuple-to-enum.d.ts'; export type {TupleToUnion} from './source/tuple-to-union.d.ts'; export type {UnionToTuple} from './source/union-to-tuple.d.ts'; export type {UnionToEnum} from './source/union-to-enum.d.ts'; export type {IntRange} from './source/int-range.d.ts'; export type {IntClosedRange} from './source/int-closed-range.d.ts'; export type {IsEqual} from './source/is-equal.d.ts'; export type {IsMutuallyAssignable} from './source/is-mutually-assignable.d.ts'; export type {SubsetOf} from './source/subset-of.d.ts'; export type {IsPrimitive} from './source/is-primitive.d.ts'; export type {IsRecordLike} from './source/is-record-like.d.ts'; export type {IsLiteral} from './source/is-literal.d.ts'; export type {IsStringLiteral} from './source/is-string-literal.d.ts'; export type {IsTemplateLiteral} from './source/is-template-literal.d.ts'; export type {IsNumericLiteral} from './source/is-numeric-literal.d.ts'; export type {IsBooleanLiteral} from './source/is-boolean-literal.d.ts'; export type {IsSymbolLiteral} from './source/is-symbol-literal.d.ts'; export type {IsAny} from './source/is-any.d.ts'; export type {IsNever} from './source/is-never.d.ts'; export type {IsUnknown} from './source/is-unknown.d.ts'; export type {IsTuple, IsTupleOptions} from './source/is-tuple.d.ts'; export type {IsReadonlyArray} from './source/is-readonly-array.d.ts'; export type {ArrayIndices} from './source/array-indices.d.ts'; export type {IndexTuple} from './source/index-tuple.d.ts'; export type {ArrayValues} from './source/array-values.d.ts'; export type {ArraySlice} from './source/array-slice.d.ts'; export type {ArraySplice} from './source/array-splice.d.ts'; export type {ArrayTail} from './source/array-tail.d.ts'; export type {ArrayElement} from './source/array-element.d.ts'; export type {ArrayLength} from './source/array-length.d.ts'; export type {TupleLength} from './source/tuple-length.d.ts'; export type {ArrayTrim, ArrayTrimEnd, ArrayTrimOptions, ArrayTrimStart} from './source/array-trim.d.ts'; export type {ArrayFlat} from './source/array-flat.d.ts'; export type {SetFieldType, SetFieldTypeOptions} from './source/set-field-type.d.ts'; export type {Paths, PathsOptions} from './source/paths.d.ts'; export type {OptionalPaths, OptionalPathsOptions} from './source/optional-paths.d.ts'; export type {ParsePath} from './source/parse-path.d.ts'; export type {RouteParameters} from './source/route-parameters.d.ts'; export type {AllUnionFields} from './source/all-union-fields.d.ts'; export type {SharedUnionFields} from './source/shared-union-fields.d.ts'; export type {SharedUnionFieldsDeep, SharedUnionFieldsDeepOptions} from './source/shared-union-fields-deep.d.ts'; export type {IsNull} from './source/is-null.d.ts'; export type {IsUndefined} from './source/is-undefined.d.ts'; export type {And} from './source/and.d.ts'; export type {AndAll} from './source/and-all.d.ts'; export type {Or} from './source/or.d.ts'; export type {OrAll} from './source/or-all.d.ts'; export type {Xor} from './source/xor.d.ts'; export type {Not} from './source/not.d.ts'; export type {AllExtend, AllExtendOptions} from './source/all-extend.d.ts'; export type {SomeExtend, SomeExtendOptions} from './source/some-extend.d.ts'; export type {NonEmptyTuple} from './source/non-empty-tuple.d.ts'; export type {FindGlobalInstanceType, FindGlobalType} from './source/find-global-type.d.ts'; export type {If} from './source/if.d.ts'; export type {IsUnion} from './source/is-union.d.ts'; export type {IsLowercase} from './source/is-lowercase.d.ts'; export type {IsUppercase} from './source/is-uppercase.d.ts'; export type {IsWhitespace} from './source/is-whitespace.d.ts'; export type {StartsWith} from './source/starts-with.d.ts'; export type {ConsistsOnlyOf} from './source/consists-only-of.d.ts'; export type {IsOptional} from './source/is-optional.d.ts'; export type {IsNullable} from './source/is-nullable.d.ts'; export type {IsUnionMember} from './source/is-union-member.d.ts'; export type {TupleOf} from './source/tuple-of.d.ts'; export type {MinimumLengthArray} from './source/minimum-length-array.d.ts'; export type {ExclusifyUnion} from './source/exclusify-union.d.ts'; export type {ArrayReverse} from './source/array-reverse.d.ts'; export type {UnionMember} from './source/union-member.d.ts'; export type {Absolute} from './source/absolute.d.ts'; export type {Negate} from './source/negate.d.ts'; export type {UnionLength} from './source/union-length.d.ts'; export type {StringToNumber} from './source/string-to-number.d.ts'; export type {StringToBoolean} from './source/string-to-boolean.d.ts'; export type {ToString} from './source/to-string.d.ts'; export type {ArrayAt} from './source/array-at.d.ts'; // Template literal types export type {CamelCase, CamelCaseOptions} from './source/camel-case.d.ts'; export type {CamelCaseString} from './source/camel-case-string.d.ts'; export type {CamelCasedProperties} from './source/camel-cased-properties.d.ts'; export type {CamelCasedPropertiesDeep} from './source/camel-cased-properties-deep.d.ts'; export type {KebabCase} from './source/kebab-case.d.ts'; export type {KebabCaseString} from './source/kebab-case-string.d.ts'; export type {KebabCasedProperties} from './source/kebab-cased-properties.d.ts'; export type {KebabCasedPropertiesDeep} from './source/kebab-cased-properties-deep.d.ts'; export type {PascalCase} from './source/pascal-case.d.ts'; export type {PascalCaseString} from './source/pascal-case-string.d.ts'; export type {PascalCasedProperties} from './source/pascal-cased-properties.d.ts'; export type {PascalCasedPropertiesDeep} from './source/pascal-cased-properties-deep.d.ts'; export type {SnakeCase} from './source/snake-case.d.ts'; export type {SnakeCaseString} from './source/snake-case-string.d.ts'; export type {SnakeCasedProperties} from './source/snake-cased-properties.d.ts'; export type {SnakeCasedPropertiesDeep} from './source/snake-cased-properties-deep.d.ts'; export type {ScreamingSnakeCase} from './source/screaming-snake-case.d.ts'; export type {ScreamingSnakeCaseString} from './source/screaming-snake-case-string.d.ts'; export type {ScreamingSnakeCasedProperties} from './source/screaming-snake-cased-properties.d.ts'; export type {ScreamingSnakeCasedPropertiesDeep} from './source/screaming-snake-cased-properties-deep.d.ts'; export type {DelimiterCase} from './source/delimiter-case.d.ts'; export type {DelimiterCasedProperties} from './source/delimiter-cased-properties.d.ts'; export type {DelimiterCasedPropertiesDeep} from './source/delimiter-cased-properties-deep.d.ts'; export type {Join} from './source/join.d.ts'; export type {JoinUnion} from './source/join-union.d.ts'; export type {Split, SplitOptions} from './source/split.d.ts'; export type {Words, WordsOptions} from './source/words.d.ts'; export type {Trim} from './source/trim.d.ts'; export type {WhitespaceCharacter} from './source/whitespace-character.d.ts'; export type {AsciiPunctuationCharacter} from './source/ascii-punctuation-character.d.ts'; export type {Replace, ReplaceOptions} from './source/replace.d.ts'; export type {StringRepeat} from './source/string-repeat.d.ts'; export type {StringReverse} from './source/string-reverse.d.ts'; export type {Includes, IncludesOptions} from './source/includes.d.ts'; export type {IndexOf, IndexOfOptions} from './source/index-of.d.ts'; export type {Get, GetOptions} from './source/get.d.ts'; export type {SetProperty} from './source/set-property.d.ts'; export type {FirstArrayElement} from './source/first-array-element.d.ts'; export type {LastArrayElement} from './source/last-array-element.d.ts'; export type {ConditionalSimplify} from './source/conditional-simplify.d.ts'; export type {ConditionalSimplifyDeep} from './source/conditional-simplify-deep.d.ts'; export type {RemovePrefix, RemovePrefixOptions} from './source/remove-prefix.d.ts'; export type {RemoveSuffix, RemoveSuffixOptions} from './source/remove-suffix.d.ts'; export type {StringToArray, StringToArrayOptions} from './source/string-to-array.d.ts'; export type {StringLength} from './source/string-length.d.ts'; // Miscellaneous export type {GlobalThis} from './source/global-this.d.ts'; export type {PackageJson} from './source/package-json.d.ts'; export type {TsConfigJson} from './source/tsconfig-json.d.ts'; // Improved built-in export type {ExtendsStrict, ExtendsStrictOptions} from './source/extends-strict.d.ts'; export type {ExtractStrict} from './source/extract-strict.d.ts'; export type {ExcludeStrict} from './source/exclude-strict.d.ts'; export type {ExcludeExactly} from './source/exclude-exactly.d.ts'; export type {ExtractExactly} from './source/extract-exactly.d.ts'; export type {StrictEventTarget} from './source/strict-event-target.d.ts'; export {};