Function declaration. Like the MethodDeclaration it contains the base info about the function and additional stuff.

Export

Implements

Implements

Hierarchy

  • FunctionDeclaration

Implements

Constructors

Properties

end?: number

The ending character of the node in the document.

Memberof

Node

isAsync: boolean

Defines if the declaration is async or not.

Memberof

AsyncDeclaration

isExported: boolean

Indicates if the declaration is exported (i.e. export function ...) or not.

Memberof

ExportableDeclaration

name: string

The name of the declaration.

Memberof

Declaration

parameters: ParameterDeclaration[] = []

List of used parameters in the callable node.

Memberof

CallableDeclaration

start?: number

The starting character of the node in the document.

Memberof

Node

type?: string
variables: VariableDeclaration[] = []

List of used variables in the callable node.

Memberof

CallableDeclaration

Generated using TypeDoc