Skip to content

Commit

Permalink
Fix unused symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
patroza committed Jan 29, 2023
1 parent 1deb713 commit 1294387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/parser.ts
Expand Up @@ -1572,7 +1572,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<string, Record<string, TsPlusTypeDefinition[]>>()
const tsPlusResolvedPathsCache = new Map<string, string[]>()
const tsPlusResolvedModuleCache = new Map<string, any>()
Expand Down Expand Up @@ -2001,7 +2001,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);
Expand Down

0 comments on commit 1294387

Please sign in to comment.