Skip to main content
Module

x/ts_morph/mod.ts>ObjectLiteralExpression#addPropertyAssignments

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

Adds property assignments.

Parameters

structures: ReadonlyArray<OptionalKind<PropertyAssignmentStructure>>
  • Structure that represents the property assignments to add.