Skip to main content
Module

x/ts_morph/ts_morph.d.ts>ObjectLiteralExpression#addSetAccessors

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

Adds set accessors.

Parameters

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

Returns

SetAccessorDeclaration[]