@@ -105,7 +105,6 @@ import {
105105 FunctionOrConstructorTypeNode,
106106 FunctionTypeNode,
107107 GetAccessorDeclaration,
108- getAllJSDocTags,
109108 getBinaryOperatorPrecedence,
110109 getFullWidth,
111110 getJSDocCommentRanges,
@@ -400,7 +399,6 @@ import {
400399 TypeQueryNode,
401400 TypeReferenceNode,
402401 UnaryExpression,
403- unescapeLeadingUnderscores,
404402 UnionOrIntersectionTypeNode,
405403 UnionTypeNode,
406404 UpdateExpression,
@@ -1585,7 +1583,7 @@ namespace Parser {
15851583 // Note: any errors at the end of the file that do not precede a regular node, should get
15861584 // attached to the EOF token.
15871585 let parseErrorBeforeNextFinishedNode = false;
1588-
1586+
15891587 const tsPlusExternalTypeCache = new Map<string, Record<string, TsPlusTypeDefinition[]>>()
15901588 const tsPlusResolvedPathsCache = new Map<string, string[]>()
15911589 let currentTsPlusTypes: TsPlusTypeDefinition[] | null = null;
@@ -1971,7 +1969,7 @@ namespace Parser {
19711969 (collectTypesIfNotExported || hasModifierOfKind(statement, SyntaxKind.ExportKeyword))
19721970 ) {
19731971 if (statement.tsPlusTypeTags && statement.tsPlusTypeTags.length > 0) {
1974- file.tsPlusContext.type.push(statement);
1972+ file.tsPlusContext.type.push(statement);
19751973 }
19761974 if (statement.tsPlusNoInheritTags && statement.tsPlusNoInheritTags.length > 0) {
19771975 file.tsPlusContext.noInherit.push(statement);
0 commit comments