NonUndefinedKeys: { [P in keyof T]: P extends K ? NonUndefined<T[P]> : T[P] }

Type Parameters

  • T
  • K extends keyof T