Interface EsFunctionInit<TArgs>

Function initialization options.

Type Parameters

  • out TArgs extends Args

    Type of function arguments definition.

Hierarchy

Properties

args?: Declarations<TArgs>

Argument declarations.

comment?: string | EsComment

Human-readable symbol comment used in its string representation.

Automatic function declaration policy.

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

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