We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4f5e44 commit bebc700Copy full SHA for bebc700
index.js
@@ -216,7 +216,7 @@ exports.astNodeVisitor = {
216
comment.value.indexOf('@classdesc') !== -1 ||
217
!noClassdescRegEx.test(comment.value)
218
) {
219
- node.leadingComments.push(comment);
+ node.leadingComments.unshift(comment);
220
node.parent.leadingComments.splice(i, 1);
221
const ignore =
222
parser.astBuilder.build('/** @ignore */').comments[0];
0 commit comments