Interface Controller<This>

Controller type interface structure definition.

interface Controller<This> {
    controller: OptionlessControllerFunction;
    id: number;
    metadata: DecoratorMetadataObject;
    name: string;
    options: ControllerOptions;
    propertyName: keyof This;
    type: symbol;
}

Type Parameters

  • This

Hierarchy

  • PropertyMetaDescriptor<This>
    • Controller

Properties

Function to control the flow of execution of the binary reader

id: number

Unique ID

metadata: DecoratorMetadataObject

Metadata object to which this decorator is applied.

name: string

Name of the decorator.

Options for controller decorator

propertyName: keyof This

Property name of the object the decorator is applied.

type: symbol

Type symbol