Skip to main content
Module

x/ts_morph/mod.ts>ClassDeclaration#set

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method ClassDeclaration.prototype.set
import { ClassDeclaration } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Sets the node from a structure.

Parameters

structure: Partial<ClassDeclarationStructure>
  • Structure to set the node with.