import { JSDocTag } from "https://dotland.deno.dev/x/ts_morph@18.0.0/mod.ts";
JS doc tag node.
Methods
getComment(): string | ()[] | undefined
Gets the tag's comment property. Use #getCommentText()
to get the text of the JS doc tag comment if necessary.
getCommentText(): string | undefined
Gets the text of the JS doc tag comment (ex. "Some description."
for @param value Some description.
).
replaceWithText(textOrWriterFunction: string | WriterFunction): Node