From fa6db1b8c95e28209a4147838dc7fd2ca433b9df Mon Sep 17 00:00:00 2001 From: Bill Ticehurst Date: Wed, 9 Mar 2016 14:57:55 -0800 Subject: [PATCH] Addressed feedback --- src/compiler/binder.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index e0297145805..dc1c908fbe2 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -278,11 +278,10 @@ namespace ts { function declareSymbol(symbolTable: SymbolTable, parent: Symbol, node: Declaration, includes: SymbolFlags, excludes: SymbolFlags): Symbol { Debug.assert(!hasDynamicName(node)); - const isJsModuleExport = getSpecialPropertyAssignmentKind(node) === SpecialPropertyAssignmentKind.ModuleExports; const isDefaultExport = node.flags & NodeFlags.Default; // The exported symbol for an export default function/class node is always named "default" - const name = isJsModuleExport ? "export=" : isDefaultExport && parent ? "default" : getDeclarationName(node); + const name = isDefaultExport && parent ? "default" : getDeclarationName(node); let symbol: Symbol; if (name !== undefined) {