Skip to main content
Module

x/ts_morph/mod.ts>JSDocTag#setTagName

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

Sets the tag name.

Parameters

tagName: string
  • The new name to use.

Returns

Node<ts.Node>

The current node or new node if the node kind changed.