Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno2node/src/deps.deno.ts>JSDocTemplateTag

Compile your Deno project to run on Node.js.
Go to Latest
class JSDocTemplateTag
extends JSDocTemplateTagBase<ts.JSDocTemplateTag>
import { JSDocTemplateTag } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

JS doc template tag node.

Methods

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

getConstraintOrThrow(message?: string | (() => string)): JSDocTypeExpression

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

getParent(): NodeParentType<ts.JSDocTemplateTag>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.JSDocTemplateTag>>