Skip to main content

@desmoslabs/desmjs-types

Type Aliases

DeepPartial

Ƭ DeepPartial<T>: T extends Builtin ? T : T extends Long ? string | number | Long : T extends infer U[] ? DeepPartial<U>[] : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> } : Partial<T>

Type parameters

Name
T

Defined in

helpers.ts:182


Exact

Ƭ Exact<P, I>: P extends Builtin ? P : P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>

Type parameters

NameType
PP
Iextends P

Defined in

helpers.ts:195