Skip to content
Type

SetRequired

Sets all keys K of T to be required.

ts
type SetRequired<T, K extends keyof T> = T & Required<Pick<T, K>>;

Used by

Released under the Mozilla Public License 2.0.