Skip to main content
Module

x/ts_morph/mod.ts>PropertyDeclaration#set

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

Sets the node from a structure.

Parameters

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