Type alias ExtractPropertyNamesOfType<T, PropType>

ExtractPropertyNamesOfType<T, PropType>: {
    [K in keyof T]: T[K] extends PropType
        ? K
        : never
}[keyof T]

Type Parameters

  • T

  • PropType

Generated using TypeDoc