Skip to main content
Module

x/ts_morph/mod.ts>JSDoc#insertTag

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

Inserts a JS doc tag at the specified index.

Parameters

index: number
  • Index to insert at.
  • Tag structure to insert.

Returns

JSDocTag<ts.JSDocTag>