Skip to content

Commit

Permalink
make linter happy]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingwl committed Oct 10, 2020
1 parent 9b9372e commit ab6bcfc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9467,7 +9467,7 @@ namespace ts {
if (declaration.kind === SyntaxKind.EnumDeclaration) {
for (const member of (<EnumDeclaration>declaration).members) {
if (isEnumMember(member)) {
appendEnumMemberIntoTypeList(member, memberTypeList)
appendEnumMemberIntoTypeList(member, memberTypeList);
}
else {
const enumSymbol = resolveEntityName(member.name, SymbolFlags.Enum);
Expand All @@ -9477,7 +9477,7 @@ namespace ts {
if (enumExport.valueDeclaration && isEnumMember(enumExport.valueDeclaration)) {
appendEnumMemberIntoTypeList(enumExport.valueDeclaration, memberTypeList);
}
})
});
}
}
}
Expand Down Expand Up @@ -9862,7 +9862,7 @@ namespace ts {
const enumSymbol = cloneSymbol(enumExport);
spreadEnumMemberExports.set(enumExport.escapedName, enumSymbol);
}
})
});
addToSymbolTable(lateSymbols, spreadEnumMemberExports, Diagnostics.Expression_expected);
}
}
Expand Down

0 comments on commit ab6bcfc

Please sign in to comment.