Skip to main content
Module

x/ts_morph/mod.ts>JSDocPropertyLikeTag

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface JSDocPropertyLikeTag
import { type JSDocPropertyLikeTag } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Methods

getTypeExpression(): JSDocTypeExpression | undefined

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

getTypeExpressionOrThrow(): 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/ts_morph@15.1.0/mod.ts";

Type Parameters

T extends Constructor<JSDocPropertyLikeTagExtensionType>