@juulsgaard/ts-tools
    Preparing search index...

    Type Alias KeysOfType<T, TProp>

    KeysOfType: { [P in keyof T]-?: T[P] extends TProp ? P : never }[keyof T]

    All keys of a type with properties of type TProp

    Type Parameters

    • T
    • TProp