Interface RelationTypeProperty<This, Target>

RelationType.

interface RelationTypeProperty<This, Target> {
    args: undefined | ((targetInstance: This) => any[]);
    id: number;
    metadata: DecoratorMetadataObject;
    name: string;
    propertyName: keyof This;
    relation: InstantiableObject<Target>;
    type: symbol;
}

Type Parameters

  • This
  • Target

Hierarchy

  • PropertyMetaDescriptor<This>
    • RelationTypeProperty

Properties

args: undefined | ((targetInstance: This) => any[])
id: number

Unique ID

metadata: DecoratorMetadataObject

Metadata object to which this decorator is applied.

name: string

Name of the decorator.

propertyName: keyof This

Property name of the object the decorator is applied.

relation: InstantiableObject<Target>
type: symbol

Type symbol