Defines all leading JSDoc comments for a Typescript compiler node.

type ParsedLeadingComments = {
    comments: string[];
    lastComment: string;
    lastParsed: comment_parser.Block;
    parsed: comment_parser.Block[];
}
Index

Properties

comments: string[]
  • All raw JSDoc comment blocks.
lastComment: string
  • Last raw JSDoc comment block before node.
lastParsed: comment_parser.Block
  • Last parsed leading JSDoc comment block before node.
parsed: comment_parser.Block[]
  • All parsed JSDoc comment blocks.