Skip to main content
Module

x/ts_morph/ts_morph.d.ts>VariableDeclarationList

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
class VariableDeclarationList
extends VariableDeclarationListBase<ts.VariableDeclarationList>
import { VariableDeclarationList } from "https://deno.land/x/ts_morph@22.0.0/ts_morph.d.ts";

Methods

Add a variable declaration to the statement.

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>>

Inserts a variable declaration at the specified index within the statement.

Inserts variable declarations at the specified index within the statement.

Sets the variable declaration kind.