@@ -105,7 +105,6 @@ import {
105
105
FunctionOrConstructorTypeNode,
106
106
FunctionTypeNode,
107
107
GetAccessorDeclaration,
108
- getAllJSDocTags,
109
108
getBinaryOperatorPrecedence,
110
109
getFullWidth,
111
110
getJSDocCommentRanges,
@@ -400,7 +399,6 @@ import {
400
399
TypeQueryNode,
401
400
TypeReferenceNode,
402
401
UnaryExpression,
403
- unescapeLeadingUnderscores,
404
402
UnionOrIntersectionTypeNode,
405
403
UnionTypeNode,
406
404
UpdateExpression,
@@ -1585,7 +1583,7 @@ namespace Parser {
1585
1583
// Note: any errors at the end of the file that do not precede a regular node, should get
1586
1584
// attached to the EOF token.
1587
1585
let parseErrorBeforeNextFinishedNode = false;
1588
-
1586
+
1589
1587
const tsPlusExternalTypeCache = new Map<string, Record<string, TsPlusTypeDefinition[]>>()
1590
1588
const tsPlusResolvedPathsCache = new Map<string, string[]>()
1591
1589
let currentTsPlusTypes: TsPlusTypeDefinition[] | null = null;
@@ -1971,7 +1969,7 @@ namespace Parser {
1971
1969
(collectTypesIfNotExported || hasModifierOfKind(statement, SyntaxKind.ExportKeyword))
1972
1970
) {
1973
1971
if (statement.tsPlusTypeTags && statement.tsPlusTypeTags.length > 0) {
1974
- file.tsPlusContext.type.push(statement);
1972
+ file.tsPlusContext.type.push(statement);
1975
1973
}
1976
1974
if (statement.tsPlusNoInheritTags && statement.tsPlusNoInheritTags.length > 0) {
1977
1975
file.tsPlusContext.noInherit.push(statement);
0 commit comments