Interface EsVarDeclarationPolicy

Automatic variable declaration policy.

Hierarchy

Properties

Properties

How to declare variable.

Default Value

const when value initializer provided, or var otherwise.

Where to place the symbol declaration.

Other symbols the declared one refers.

Referred symbols supposed to be declared before the referrer.

value?: ((this, context, symbol) => EsSnippet)

Type declaration

    • (this, context, symbol): EsSnippet
    • Emits initial value of the variable.

      Parameters

      Returns EsSnippet

      Variable initialization expression.

      Default Value

      undefined.

Generated using TypeDoc