Interface EsVarInit

Variable initialization options.

Type Param

Type of symbol naming.

Hierarchy

Properties

comment?: string | EsComment

Human-readable symbol comment used in its string representation.

Automatic variable declaration policy.

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

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