From 376c3cdff8b5d91df20eef229ce1943826bafc86 Mon Sep 17 00:00:00 2001 From: navya9singh Date: Mon, 6 Feb 2023 14:04:54 -0800 Subject: [PATCH] Removing binder changes --- src/compiler/binder.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index b9105eae42d..5714ec93045 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -3341,9 +3341,6 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void { } }); } - if (namespaceSymbol && namespaceSymbol.valueDeclaration) { - if (isAssignmentDeclaration(namespaceSymbol.valueDeclaration)) containerIsClass = false; - } if (containerIsClass && namespaceSymbol && namespaceSymbol.valueDeclaration) { addDeclarationToSymbol(namespaceSymbol, namespaceSymbol.valueDeclaration, SymbolFlags.Class); }