Skip to main content
Module

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

Compile your Deno project to run on Node.js.
Go to Latest
class ClassStaticBlockDeclaration
extends ClassStaticBlockDeclarationBase<ts.ClassStaticBlockDeclaration>
import { ClassStaticBlockDeclaration } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Methods

getName(): "static"

Method that exists for the sake of making code compile that looks for the name of static members. This always returns "static".

getParent(): NodeParentType<ts.ClassStaticBlockDeclaration>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.ClassStaticBlockDeclaration>>

Gets the structure equivalent to this node.

isStatic(): true

Method that exists for the sake of making code compile that looks for this method on class members. This always returns true.

set(structure: Partial<ClassStaticBlockDeclarationStructure>): this

Sets the node from a structure.