import { ArrayLiteralExpression } from "https://deno.land/x/ts_morph@16.0.0/mod.ts";
Adds an element to the array.
Parameters
textOrWriterFunction: string | WriterFunction
- Text to add as an element.
Returns
Expression<ts.Expression>
x/ts_morph/mod.ts>ArrayLiteralExpression#addElement
import { ArrayLiteralExpression } from "https://deno.land/x/ts_morph@16.0.0/mod.ts";
Adds an element to the array.