Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ts_morph/mod.ts>PropertyAssignment#set

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

Sets the node from a structure.

Parameters

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