Skip to content

Commit

Permalink
Fix unused symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
patroza committed Dec 27, 2022
1 parent 4f4ea56 commit 919ecbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/parser.ts
Expand Up @@ -1583,7 +1583,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 @@ -1975,7 +1975,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 919ecbe

Please sign in to comment.