Type Alias UnionKeys<T>

UnionKeys: T extends T ? keyof T : never

Get the keys of a union of objects

Type Parameters

  • T