Interface EsSymbolInit<TNaming>

Symbol initialization options.

Type Parameters

Hierarchy

  • EsSymbolInit

Properties

comment?: string | EsComment

Human-readable symbol comment used in its string representation.

declare?: EsDeclarationPolicy<TNaming>

Automatic symbol declaration policy.

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

When omitted, the symbol 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