Interface EsScopeInit

Initialization options for nested emission scope.

Hierarchy

  • EsScopeInit

Properties

async?: boolean

Whether this is a scope within asynchronous function.

Accepted only for function scope. Derived from enclosing scope otherwise.

await expressions can be emitted only within asynchronous scopes.

generator?: boolean

Whether this is a scope within generator function.

Accepted only for function scope. Derived from enclosing scope otherwise.

yield expressions can be emitted only within generator scopes.

kind?: Function | Block

Kind of created scope.

Default Value

block scope.

ns?: Omit<EsNamespaceInit, "enclosing">

Initialization options for nested namespace.

setup?: EsScopeSetup<EsScope> | readonly EsScopeSetup<EsScope>[]

Scope initialization setup to perform.

Generated using TypeDoc