Variable declaration. Is contained in a method or function, or can be exported.

Export

Implements

Implements

Hierarchy

  • VariableDeclaration

Implements

Constructors

Properties

Constructors

Properties

end?: number

The ending character of the node in the document.

Memberof

Node

isConst: boolean
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

start?: number

The starting character of the node in the document.

Memberof

Node

type: undefined | string

The type of the declaration.

Example

"string"

Example

"Declaration[]"

Memberof

TypedDeclaration

Generated using TypeDoc