Check EOF token to get errors for JSDoc (#28000)

* Check EOF token to get errors for JSDoc

* outputFile instead of noEmit for test
This commit is contained in:
Nathan Shively-Sanders
2018-10-19 16:23:34 -07:00
committed by GitHub
parent 69b1cb5bac
commit bf393ae1cd
6 changed files with 41 additions and 0 deletions

View File

@@ -27305,6 +27305,7 @@ namespace ts {
clear(potentialNewTargetCollisions);
forEach(node.statements, checkSourceElement);
checkSourceElement(node.endOfFileToken);
checkDeferredNodes(node);