Type Alias TargetKey<T, U>

TargetKey: { [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