Skip to main content
Module

x/ts_morph/mod.ts>ObjectLiteralExpression#addSetAccessors

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

Adds set accessors.

Parameters

structures: ReadonlyArray<OptionalKind<SetAccessorDeclarationStructure>>
  • Structure that represents the set accessors to add.