@es-joy/jsdoccomment
Advanced tools
Changelog
0.23.6
commentParserToESTree
): ensure postType
added after multi-line typeestreeToString
): ensure JsdocTypeLine
stringified with initial
and
that they are joined together with newlinesChangelog
0.23.4
estreeToString
): add delimiter
, etc. if adding JsdocDescriptionLine
for JsdocBlock
estreeToString
): add line break when tags are present (unless already
ending in newline)Changelog
0.23.3
estreeToString
): handle multi-line block descriptions followed by
tags with line breakChangelog
0.23.0
commentParserToESTree
): rename start
and end
to
initial
and terminal
to avoid any conflicts with Acorn-style parsersinitial
and terminal
on JsdocBlock
Changelog
0.22.1
getJSDocComment
does not treat block comments as JSDoc unless
their first asterisk is followed by whitespace