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 985682d commit 898c64bCopy full SHA for 898c64b
src/compiler/parser.ts
@@ -685,7 +685,7 @@ namespace ts {
685
686
sourceFile.statements = parseList(ParsingContext.SourceElements, parseStatement);
687
Debug.assert(token() === SyntaxKind.EndOfFileToken);
688
- sourceFile.endOfFileToken = <EndOfFileToken>parseTokenNode();
+ sourceFile.endOfFileToken = addJSDocComment(parseTokenNode() as EndOfFileToken);
689
690
setExternalModuleIndicator(sourceFile);
691
0 commit comments