forked from sindresorhus/type-fest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
164 lines (161 loc) · 8.41 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
// Basic
export * from './source/primitive';
export * from './source/typed-array';
export * from './source/basic';
export * from './source/observable-like';
// Utilities
export type {KeysOfUnion} from './source/keys-of-union';
export type {DistributedOmit} from './source/distributed-omit';
export type {DistributedPick} from './source/distributed-pick';
export type {EmptyObject, IsEmptyObject} from './source/empty-object';
export type {IfEmptyObject} from './source/if-empty-object';
export type {NonEmptyObject} from './source/non-empty-object';
export type {UnknownRecord} from './source/unknown-record';
export type {UnknownArray} from './source/unknown-array';
export type {Except} from './source/except';
export type {TaggedUnion} from './source/tagged-union';
export type {Writable} from './source/writable';
export type {WritableDeep} from './source/writable-deep';
export type {Merge} from './source/merge';
export type {MergeDeep, MergeDeepOptions} from './source/merge-deep';
export type {MergeExclusive} from './source/merge-exclusive';
export type {RequireAtLeastOne} from './source/require-at-least-one';
export type {RequireExactlyOne} from './source/require-exactly-one';
export type {RequireAllOrNone} from './source/require-all-or-none';
export type {RequireOneOrNone} from './source/require-one-or-none';
export type {SingleKeyObject} from './source/single-key-object';
export type {OmitIndexSignature} from './source/omit-index-signature';
export type {PickIndexSignature} from './source/pick-index-signature';
export type {PartialDeep, PartialDeepOptions} from './source/partial-deep';
export type {RequiredDeep} from './source/required-deep';
export type {PickDeep} from './source/pick-deep';
export type {OmitDeep} from './source/omit-deep';
export type {PartialOnUndefinedDeep, PartialOnUndefinedDeepOptions} from './source/partial-on-undefined-deep';
export type {UndefinedOnPartialDeep} from './source/undefined-on-partial-deep';
export type {ReadonlyDeep} from './source/readonly-deep';
export type {LiteralUnion} from './source/literal-union';
export type {Promisable} from './source/promisable';
export type {Opaque, UnwrapOpaque, Tagged, GetTagMetadata, UnwrapTagged} from './source/opaque';
export type {InvariantOf} from './source/invariant-of';
export type {SetOptional} from './source/set-optional';
export type {SetReadonly} from './source/set-readonly';
export type {SetRequired} from './source/set-required';
export type {SetNonNullable} from './source/set-non-nullable';
export type {ValueOf} from './source/value-of';
export type {AsyncReturnType} from './source/async-return-type';
export type {ConditionalExcept} from './source/conditional-except';
export type {ConditionalKeys} from './source/conditional-keys';
export type {ConditionalPick} from './source/conditional-pick';
export type {ConditionalPickDeep, ConditionalPickDeepOptions} from './source/conditional-pick-deep';
export type {UnionToIntersection} from './source/union-to-intersection';
export type {Stringified} from './source/stringified';
export type {StringSlice} from './source/string-slice';
export type {FixedLengthArray} from './source/fixed-length-array';
export type {MultidimensionalArray} from './source/multidimensional-array';
export type {MultidimensionalReadonlyArray} from './source/multidimensional-readonly-array';
export type {IterableElement} from './source/iterable-element';
export type {Entry} from './source/entry';
export type {Entries} from './source/entries';
export type {SetReturnType} from './source/set-return-type';
export type {SetParameterType} from './source/set-parameter-type';
export type {Asyncify} from './source/asyncify';
export type {Simplify} from './source/simplify';
export type {SimplifyDeep} from './source/simplify-deep';
export type {Jsonify} from './source/jsonify';
export type {Jsonifiable} from './source/jsonifiable';
export type {StructuredCloneable} from './source/structured-cloneable';
export type {Schema} from './source/schema';
export type {LiteralToPrimitive} from './source/literal-to-primitive';
export type {LiteralToPrimitiveDeep} from './source/literal-to-primitive-deep';
export type {
PositiveInfinity,
NegativeInfinity,
Finite,
Integer,
Float,
NegativeFloat,
Negative,
NonNegative,
NegativeInteger,
NonNegativeInteger,
IsNegative,
} from './source/numeric';
export type {GreaterThan} from './source/greater-than';
export type {GreaterThanOrEqual} from './source/greater-than-or-equal';
export type {LessThan} from './source/less-than';
export type {LessThanOrEqual} from './source/less-than-or-equal';
export type {Sum} from './source/sum';
export type {Subtract} from './source/subtract';
export type {StringKeyOf} from './source/string-key-of';
export type {Exact} from './source/exact';
export type {ReadonlyTuple} from './source/readonly-tuple';
export type {OptionalKeysOf} from './source/optional-keys-of';
export type {OverrideProperties} from './source/override-properties';
export type {HasOptionalKeys} from './source/has-optional-keys';
export type {RequiredKeysOf} from './source/required-keys-of';
export type {HasRequiredKeys} from './source/has-required-keys';
export type {ReadonlyKeysOf} from './source/readonly-keys-of';
export type {HasReadonlyKeys} from './source/has-readonly-keys';
export type {WritableKeysOf} from './source/writable-keys-of';
export type {HasWritableKeys} from './source/has-writable-keys';
export type {Spread} from './source/spread';
export type {IsInteger} from './source/is-integer';
export type {IsFloat} from './source/is-float';
export type {TupleToUnion} from './source/tuple-to-union';
export type {IntRange} from './source/int-range';
export type {IsEqual} from './source/is-equal';
export type {
IsLiteral,
IsStringLiteral,
IsNumericLiteral,
IsBooleanLiteral,
IsSymbolLiteral,
} from './source/is-literal';
export type {IsAny} from './source/is-any';
export type {IfAny} from './source/if-any';
export type {IsNever} from './source/is-never';
export type {IfNever} from './source/if-never';
export type {IsUnknown} from './source/is-unknown';
export type {IfUnknown} from './source/if-unknown';
export type {ArrayIndices} from './source/array-indices';
export type {ArrayValues} from './source/array-values';
export type {ArraySlice} from './source/array-slice';
export type {ArraySplice} from './source/array-splice';
export type {ArrayTail} from './source/array-tail';
export type {SetFieldType} from './source/set-field-type';
export type {Paths} from './source/paths';
export type {SharedUnionFieldsDeep} from './source/shared-union-fields-deep';
export type {IsNull} from './source/is-null';
export type {IfNull} from './source/if-null';
export type {And} from './source/and';
export type {Or} from './source/or';
export type {NonEmptyTuple} from './source/non-empty-tuple';
export type {FindGlobalInstanceType, FindGlobalType} from './source/find-global-type';
// Template literal types
export type {CamelCase} from './source/camel-case';
export type {CamelCasedProperties} from './source/camel-cased-properties';
export type {CamelCasedPropertiesDeep} from './source/camel-cased-properties-deep';
export type {KebabCase} from './source/kebab-case';
export type {KebabCasedProperties} from './source/kebab-cased-properties';
export type {KebabCasedPropertiesDeep} from './source/kebab-cased-properties-deep';
export type {PascalCase} from './source/pascal-case';
export type {PascalCasedProperties} from './source/pascal-cased-properties';
export type {PascalCasedPropertiesDeep} from './source/pascal-cased-properties-deep';
export type {SnakeCase} from './source/snake-case';
export type {SnakeCasedProperties} from './source/snake-cased-properties';
export type {SnakeCasedPropertiesDeep} from './source/snake-cased-properties-deep';
export type {ScreamingSnakeCase} from './source/screaming-snake-case';
export type {DelimiterCase} from './source/delimiter-case';
export type {DelimiterCasedProperties} from './source/delimiter-cased-properties';
export type {DelimiterCasedPropertiesDeep} from './source/delimiter-cased-properties-deep';
export type {Join} from './source/join';
export type {Split} from './source/split';
export type {Trim} from './source/trim';
export type {Replace} from './source/replace';
export type {Includes} from './source/includes';
export type {Get} from './source/get';
export type {LastArrayElement} from './source/last-array-element';
// Miscellaneous
export type {GlobalThis} from './source/global-this';
export type {PackageJson} from './source/package-json';
export type {TsConfigJson} from './source/tsconfig-json';