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

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

Compile your Deno project to run on Node.js.
Go to Latest
interface JSDocPropertyLikeTag
import { type JSDocPropertyLikeTag } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Methods

getTypeExpression(): JSDocTypeExpression | undefined

Gets the type expression node of the JS doc tag if it exists.

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

Gets the type expression node of the JS doc tag or throws if it doesn't exist.

getName(): string

Gets the name of the JS doc property like tag.

getNameNode(): EntityName

Gets the name node of the JS doc property like tag.

isBracketed(): boolean

Checks if the JS doc property like tag is bracketed.

function JSDocPropertyLikeTag
import { JSDocPropertyLikeTag } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Type Parameters

T extends Constructor<JSDocPropertyLikeTagExtensionType>