Module

x/ts_morph/mod.ts>JSDocTemplateTag

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class JSDocTemplateTag
extends JSDocTemplateTagBase<ts.JSDocTemplateTag>
import { JSDocTemplateTag } from "https://dotland.deno.dev/x/ts_morph@15.1.0/mod.ts";

JS doc template tag node.

Methods

Gets the template tag's constraint if it exists or returns undefined.

Gets the template tag's constraint if it exists or throws otherwise.

getParent(): NodeParentType<ts.JSDocTemplateTag>
getParentOrThrow(): NonNullable<NodeParentType<ts.JSDocTemplateTag>>