Type alias RefKeys<Obj>

RefKeys<Obj>: {
    [Key in keyof Obj]: Obj[Key] extends CrossReference<any> | undefined
        ? Key
        : never
}[keyof Obj] & string

This is an internal type that is used to extract the keys of a user-provided generic type that are references.

Type Parameters

  • Obj