Skip to main content
Module

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

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

Methods

Extracts an interface declaration structure from the class.

Extracts an interface declaration structure from the static part of the class.

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

Gets the structure equivalent to this node.

set(structure: Partial<ClassDeclarationStructure>): this

Sets the node from a structure.