Skip to main content
Latest
method ObjectLiteralExpression.prototype.insertShorthandPropertyAssignments
import { ObjectLiteralExpression } from "https://deno.land/x/deno2node@v1.12.0/src/deps.deno.ts";

Inserts shorthand property assignments at the specified index.

Parameters

index: number
  • Child index to insert at.
structures: ReadonlyArray<OptionalKind<ShorthandPropertyAssignmentStructure>>
  • Structures that represent the shorthand property assignments to insert.

Returns

ShorthandPropertyAssignment[]