8000 Addressed feedback · prmdeveloper/TypeScript@9924e0a · GitHub
[go: up one dir, main page]

Skip to content

Commit 9924e0a

Browse files
committed
Addressed feedback
(cherry picked from commit fa6db1b)
1 parent 3ebf0fc commit 9924e0a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/compiler/binder.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,10 @@ namespace ts {
278278
function declareSymbol(symbolTable: SymbolTable, parent: Symbol, node: Declaration, includes: SymbolFlags, excludes: SymbolFlags): Symbol {
279279
Debug.assert(!hasDynamicName(node));
280280

281-
const isJsModuleExport = getSpecialPropertyAssignmentKind(node) === SpecialPropertyAssignmentKind.ModuleExports;
282281
const isDefaultExport = node.flags & NodeFlags.Default;
283282

284283
// The exported symbol for an export default function/class node is always named "default"
285-
const name = isJsModuleExport ? "export=" : isDefaultExport && parent ? "default" : getDeclarationName(node);
284+
const name = isDefaultExport && parent ? "default" : getDeclarationName(node);
286285

287286
let symbol: Symbol;
288287
if (name !== undefined) {

0 commit comments

Comments
 (0)
0