Skip to main content
Module

x/ts_morph/ts_morph.d.ts>Decorator#insertArguments

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

Inserts arguments.

Parameters

index: number
  • Child index to insert at.
argumentTexts: ReadonlyArray<string | WriterFunction> | WriterFunction
  • Argument texts.

Returns

Node<ts.Node>[]