UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

20 lines (19 loc) 452 B
import * as ts from "typescript"; import { Node, Identifier } from "./../common"; /** * JS doc tag node. */ export declare class JSDocTag<NodeType extends ts.JSDocTag = ts.JSDocTag> extends Node<NodeType> { /** * Gets the at token. */ getAtToken(): Node<ts.Node>; /** * Gets the tag name node. */ getTagNameNode(): Identifier; /** * Gets the tag's comment. */ getComment(): string | undefined; }