Optional<T, K extends undefined> Type alias

Make a new type from an existing type T, with set of required properties K optional.

Optional = Pick<Partial<T>, K> & Omit<T, K>

Defined in

Last Updated: 15 March, 2024