Type Alias MarkRequired<Type, Keys>

MarkRequired<Type, Keys>: Type extends Type
    ? Omit<Type, Keys> & Required<Pick<Type, Keys>>
    : never

Type Parameters

  • Type
  • Keys extends keyof Type