Type alias UnionToKeyof<T, O>

UnionToKeyof<T, O>: T extends keyof O
    ? T
    : never

Type Parameters

  • T

  • O

Generated using TypeDoc