Skip to main content
Module

x/ts_morph/ts_morph.d.ts>JSDoc#insertTags

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

Inserts JS doc tags at the specified index.

Parameters

index: number
  • Index to insert at.
structures: ReadonlyArray<OptionalKind<JSDocTagStructure>>
  • Tag structures to insert.

Returns

JSDocTag<ts.JSDocTag>[]