Search
Loading...
Skip to content

Type Alias: Optional

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