vtils

Home > types > RequiredBy

RequiredBy type

Mark some properties as required, leaving others unchanged

Signature:

export declare type RequiredBy<T, RK extends keyof T> = Exclude<T, RK> & Required<Pick<T, RK>>;