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 6b71882 commit f97c7c5Copy full SHA for f97c7c5
src/compiler/parser.ts
@@ -8571,13 +8571,14 @@ namespace Parser {
8571
let tags: JSDocTag[];
8572
let tagsPos: number;
8573
let tagsEnd: number;
8574
- let linkEnd: number;
8575
- let commentsPos: number | undefined;
8576
- let comments: string[] = [];
8577
- const parts: JSDocComment[] = [];
8578
8579
// + 3 for leading /**, - 5 in total for /** */
8580
return scanner.scanRange(start + 3, length - 5, () => {
+ let linkEnd: number | undefined;
+ let commentsPos: number | undefined;
+ let comments: string[] = [];
+ const parts: JSDocComment[] = [];
8581
+
8582
// Initially we can parse out a tag. We also have seen a starting asterisk.
8583
// This is so that /** * @type */ doesn't parse.
8584
let state = JSDocState.SawAsterisk;
0 commit comments