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