Type alias RequireKeys<T, K>

RequireKeys<T, K>: Prettify<T & Required<Pick<T, K>>>

Marks the given keys as required. WARNING: Does not work if T has an index signature.

Type Parameters

  • T

  • K extends keyof T