Skip to main content
Module

x/ts_morph/mod.ts>Decorator#set

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

Sets the node from a structure.

Parameters

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