Type alias AllowedKeys<T, Condition>

AllowedKeys<T, Condition>: {
    [Key in keyof T]: T[Key] extends Condition
        ? Key
        : never
}[keyof T]

Type Parameters

  • T

  • Condition

Generated using TypeDoc