type-fest
Version:
A collection of essential TypeScript types
200 lines (195 loc) • 11.5 kB
TypeScript
// 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 {IfEmptyObject} from './source/if-empty-object.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 {Except} 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} from './source/writable-deep.d.ts';
export type {Merge} from './source/merge.d.ts';
export type {MergeDeep, MergeDeepOptions} from './source/merge-deep.d.ts';
export type {MergeExclusive} from './source/merge-exclusive.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 {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 {PartialDeep, PartialDeepOptions} from './source/partial-deep.d.ts';
export type {RequiredDeep} from './source/required-deep.d.ts';
export type {PickDeep} from './source/pick-deep.d.ts';
export type {OmitDeep} from './source/omit-deep.d.ts';
export type {PartialOnUndefinedDeep, PartialOnUndefinedDeepOptions} from './source/partial-on-undefined-deep.d.ts';
export type {UndefinedOnPartialDeep} from './source/undefined-on-partial-deep.d.ts';
export type {ReadonlyDeep} from './source/readonly-deep.d.ts';
export type {LiteralUnion} from './source/literal-union.d.ts';
export type {Promisable} from './source/promisable.d.ts';
export type {Arrayable} from './source/arrayable.d.ts';
export type {Opaque, UnwrapOpaque, Tagged, GetTagMetadata, UnwrapTagged} from './source/tagged.d.ts';
export type {InvariantOf} from './source/invariant-of.d.ts';
export type {SetOptional} from './source/set-optional.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 {SetNonNullable} from './source/set-non-nullable.d.ts';
export type {SetNonNullableDeep} from './source/set-non-nullable-deep.d.ts';
export type {ValueOf} from './source/value-of.d.ts';
export type {AsyncReturnType} from './source/async-return-type.d.ts';
export type {ConditionalExcept} from './source/conditional-except.d.ts';
export type {ConditionalKeys} from './source/conditional-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 {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 {Entry} from './source/entry.d.ts';
export type {Entries} from './source/entries.d.ts';
export type {SetReturnType} from './source/set-return-type.d.ts';
export type {SetParameterType} from './source/set-parameter-type.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 {Jsonify} from './source/jsonify.d.ts';
export type {Jsonifiable} from './source/jsonifiable.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 {
PositiveInfinity,
NegativeInfinity,
Finite,
Integer,
Float,
NegativeFloat,
Negative,
NonNegative,
NegativeInteger,
NonNegativeInteger,
IsNegative,
} from './source/numeric.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 {KeyAsString} from './source/key-as-string.d.ts';
export type {Exact} from './source/exact.d.ts';
export type {ReadonlyTuple} from './source/readonly-tuple.d.ts';
export type {OverrideProperties} from './source/override-properties.d.ts';
export type {OptionalKeysOf} from './source/optional-keys-of.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 {IsInteger} from './source/is-integer.d.ts';
export type {IsFloat} from './source/is-float.d.ts';
export type {TupleToObject} from './source/tuple-to-object.d.ts';
export type {TupleToUnion} from './source/tuple-to-union.d.ts';
export type {UnionToTuple} from './source/union-to-tuple.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 {
IsLiteral,
IsStringLiteral,
IsNumericLiteral,
IsBooleanLiteral,
IsSymbolLiteral,
} from './source/is-literal.d.ts';
export type {IsAny} from './source/is-any.d.ts';
export type {IfAny} from './source/if-any.d.ts';
export type {IsNever} from './source/is-never.d.ts';
export type {IfNever} from './source/if-never.d.ts';
export type {IsUnknown} from './source/is-unknown.d.ts';
export type {IfUnknown} from './source/if-unknown.d.ts';
export type {IsTuple} from './source/is-tuple.d.ts';
export type {ArrayIndices} from './source/array-indices.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 {SetFieldType} from './source/set-field-type.d.ts';
export type {Paths} from './source/paths.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} from './source/shared-union-fields-deep.d.ts';
export type {IsNull} from './source/is-null.d.ts';
export type {IfNull} from './source/if-null.d.ts';
export type {IsUndefined} from './source/is-undefined.d.ts';
export type {And} from './source/and.d.ts';
export type {Or} from './source/or.d.ts';
export type {AllExtend} from './source/all-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 {IsOptional} from './source/is-optional.d.ts';
export type {IsNullable} from './source/is-nullable.d.ts';
// Template literal types
export type {CamelCase} from './source/camel-case.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 {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 {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 {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 {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 {Split} from './source/split.d.ts';
export type {Words} from './source/words.d.ts';
export type {Trim} from './source/trim.d.ts';
export type {Replace} from './source/replace.d.ts';
export type {StringRepeat} from './source/string-repeat.d.ts';
export type {Includes} from './source/includes.d.ts';
export type {Get} from './source/get.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} from './source/remove-prefix.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} from './source/extends-strict.d.ts';
export type {ExtractStrict} from './source/extract-strict.d.ts';
export type {ExcludeStrict} from './source/exclude-strict.d.ts';