Type aliases
Class
Class<T>: object
Type parameters
Conditional
Conditional<Dispatcher, Expectation, Truthy, Falsy>: Dispatcher extends Expectation ? Truthy : Falsy
Type parameters
-
Dispatcher
-
Expectation
-
Truthy
-
Falsy
DotKeyOf
DotKeyOf<T>: Exclude<keyof T, symbol | number> | string
Type parameters
EitherField
EitherField<T, TKey>: TKey extends keyof T ? { [P in TKey]-?: T[TKey]} & Partial<Record<Exclude<keyof T, TKey>, never>> : never
Type parameters
MaybePromise
MaybePromise<T, B>: object[B]
Type parameters
Mutable
Mutable<T>: { -readonly[P in keyof T]: T[P]}
Type parameters
MutableSome
MutableSome<T, K>: { -readonly[P in K]: T[P]}
Type parameters
NoDefinedProperties
NoDefinedProperties<K>: { [P in K]: never}
Type parameters
NoDefinedPropertiesFrom
NoDefinedPropertiesFrom<T, K>: { [P in K]: never}
Type parameters
Nullable
Nullable<T>: T | null
Type parameters
PartialSome
PartialSome<T, K>: Omit<T, K> & Partial<T>
Type parameters
RequireAtLeastOne
RequireAtLeastOne<T, Keys>: Pick<T, Exclude<keyof T, Keys>> & { [K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>}[Keys]
Type parameters
RequireOnlyOne
RequireOnlyOne<T, Keys>: Pick<T, Exclude<keyof T, Keys>> & { [K in Keys]-?: Required<Pick<T, K>> & Partial<Record<Exclude<Keys, K>, undefined>>}[Keys]
Type parameters
RequireSome
RequireSome<T, K>: Omit<T, K> & { [MK in K]-?: NonNullable<T[MK]>}
Type parameters
Tuplize
Tuplize<T>: Pick<T, Exclude<keyof T, Extract<keyof ObjMap[], string> | number>>
Type parameters
Undefinable
Undefinable<T>: T | undefined
Type parameters
Values
Values<T>: T[keyof T]
Type parameters
Voidable
Voidable<T>: T | void
Type parameters
Xor
Xor<T>
: Values<{ [K in keyof T]: T[K] & { [M in Values<{ [L in keyof Omit<T, K>]: keyof T[L]}>]?: undefined}}>
Type parameters