import { VariableDeclarationList } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
Add a variable declaration to the statement.
addDeclarations(structures: ReadonlyArray<OptionalKind<VariableDeclarationStructure>>): VariableDeclaration[]
Adds variable declarations to the statement.
Gets the variable declaration kind.
Gets the variable declaration kind keywords.
Get the variable declarations.
getParent(): NodeParentType<ts.VariableDeclarationList>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.VariableDeclarationList>>
insertDeclaration(index: number, structure: OptionalKind<VariableDeclarationStructure>): VariableDeclaration
Inserts a variable declaration at the specified index within the statement.
insertDeclarations(index: number, structures: ReadonlyArray<OptionalKind<VariableDeclarationStructure>>): VariableDeclaration[]
Inserts variable declarations at the specified index within the statement.
setDeclarationKind(type: VariableDeclarationKind): this
Sets the variable declaration kind.