Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno2node/src/deps.deno.ts>VariableDeclarationList

Compile your Deno project to run on Node.js.
Go to Latest
class VariableDeclarationList
extends VariableDeclarationListBase<ts.VariableDeclarationList>
import { VariableDeclarationList } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.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.