Type alias ReferenceConfigBaseCreate<T>

ReferenceConfigBaseCreate<T>: {
    description?: string;
    name: T extends undefined
        ? string
        : RefKeys<T>;
}

The base class for creating a reference configuration.

Type Parameters

  • T

Type declaration

  • Optional description?: string

    The description of the reference.

  • name: T extends undefined
        ? string
        : RefKeys<T>

    The name of the reference. If no generic passed, the type is string. If a generic is passed, the type is a union of the keys labelled as CrossReference.