From d41c0f5da555e79ddcae0b946235f9f816ebabb0 Mon Sep 17 00:00:00 2001 From: Patrick Roza Date: Tue, 27 Dec 2022 20:04:20 +0100 Subject: [PATCH] Fix unused symbols --- src/compiler/parser.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 986d62a065c..c22f266d2cb 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -1582,7 +1582,7 @@ namespace Parser { // Note: any errors at the end of the file that do not precede a regular node, should get // attached to the EOF token. let parseErrorBeforeNextFinishedNode = false; - + const tsPlusExternalTypeCache = new Map>() const tsPlusResolvedPathsCache = new Map() const tsPlusResolvedModuleCache = new Map() @@ -1979,7 +1979,7 @@ namespace Parser { (collectTypesIfNotExported || hasModifierOfKind(statement, SyntaxKind.ExportKeyword)) ) { if (statement.tsPlusTypeTags && statement.tsPlusTypeTags.length > 0) { - file.tsPlusContext.type.push(statement); + file.tsPlusContext.type.push(statement); } if (statement.tsPlusNoInheritTags && statement.tsPlusNoInheritTags.length > 0) { file.tsPlusContext.noInherit.push(statement);