method ArrayLiteralExpression.prototype.addElementimport { ArrayLiteralExpression } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts"; addElement(textOrWriterFunction: string | WriterFunction, options?: { useNewLines?: boolean; }): Expression<ts.Expression>Adds an element to the array. Adds an element to the array. ParameterstextOrWriterFunction: string | WriterFunction Text to add as an element. optionaloptions: { useNewLines?: boolean; } Options. ReturnsExpression<ts.Expression>