Module

x/ts_morph/mod.ts>EnumDeclaration#set

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method EnumDeclaration.prototype.set
import { EnumDeclaration } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts";

Sets the node from a structure.

Parameters

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