Interface Custom<TArgs>

Custom class initialization options with explicit constructor.

Type Parameters

  • out TArgs extends Args

    Type of class constructor arguments definition.

Hierarchy

Properties

baseClass?: EsClass<Args<string>>

Optional base class.

classConstructor: EsConstructor<TArgs> | EsConstructorInit<TArgs>

Either required class constructor or its initialization options.

The constructor has to be declared, unless it has signature compatible with base class.

comment?: string | EsComment

Human-readable symbol comment used in its string representation.

Automatic class declaration policy.

When specified, the class will be automatically declared once referenced.

When omitted, the class has to be explicitly declared prior to being used.

unique?: boolean

Whether the symbol is isUnique unique or not.

Non-unique symbols may be named multiple times in unrelated namespaces.

This option is ignored when declare one is set, as a auto-declared symbol is always unique.

Default Value

true

Generated using TypeDoc