@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
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
Name | Type |
---|---|
P | P |
I | extends P |