Type alias TargetKey<T, U>

TargetKey<T, U>: {
    [K in keyof T]: T[K] extends U[]
        ? K
        : never
}[keyof T]

The key on the related Entity which is associated with this Entity

Type Parameters

  • T
  • U

Generated using TypeDoc