Skip to main content
Module

x/ts_morph/mod.ts>ClassStaticBlockDeclaration

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class ClassStaticBlockDeclaration
extends ClassStaticBlockDeclarationBase<ts.ClassStaticBlockDeclaration>
import { ClassStaticBlockDeclaration } from "https://deno.land/x/ts_morph@15.1.0/mod.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(): 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.