Creates a new TSDoc comment.
Optional
code: stringThe TSDoc block comment soruce code.
Optional
options: TsDocOptionsOptions for the TSDoc instance.
If the provided code is not a valid TSDoc block comment.
Readonly
multiMulti tags are tags that can appear multiple times in a TSDoc comment, but each instance must have unique description text.
Readonly
namedNamed multi tags are tags that can appear multiple times in a TSDoc comment, but each instance must have a unique name.
Protected
Optional
paramCan be used to specify the order in which param-tags are rendered in the TSDoc comment.
Readonly
singleSingle tags are tags that can only appear once in a TSDoc comment.
Protected
Optional
tagThe order in which tags are rendered in the TSDoc comment. Empty strings means spacing between tags when iterating and rendering.
Static
defaultThe default order in which tags are rendered in the TSDoc comment.
Returns whether the TsDoc instance has no tags.
The number of tags in the TsDoc instance.
Iterate tags in the order specified in the ´tagOrder´ and ´paramOrder´ properties.
Optional
withSpaces: booleanWhether to yield empty strings encountered in ´tagOrder´. Empty strings are used to add spacing between tags.
Generated using TypeDoc
A class representing a TSDoc block comment.