Type alias KeySelector<T, K>

KeySelector<T, K>: ((propertyName) => T[K])

Type Parameters

  • T

  • K extends keyof T

Type declaration

    • (propertyName): T[K]
    • A function that returns the value of the key

      Parameters

      • propertyName: K

      Returns T[K]

Generated using TypeDoc