type Optional<T, K> = Omit<T, K> & Partial<T>;
Turn value at K of T into a Partial
Type Parameters#
Type Parameter |
---|
T |
K extends keyof T |
type Optional<T, K> = Omit<T, K> & Partial<T>;
Turn value at K of T into a Partial
Type Parameter |
---|
T |
K extends keyof T |