mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
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:
@@ -27305,6 +27305,7 @@ namespace ts {
|
||||
clear(potentialNewTargetCollisions);
|
||||
|
||||
forEach(node.statements, checkSourceElement);
|
||||
checkSourceElement(node.endOfFileToken);
|
||||
|
||||
checkDeferredNodes(node);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user