Skip to content

Commit afaa139

Browse files
committed
Namespaces do not have the same 'var' scope
1 parent e655446 commit afaa139

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/compiler/utilities.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,8 +1783,6 @@ namespace ts {
17831783
case SyntaxKind.WhileStatement:
17841784
case SyntaxKind.TryStatement:
17851785
case SyntaxKind.CatchClause:
1786-
case SyntaxKind.ModuleDeclaration:
1787-
case SyntaxKind.ModuleBlock:
17881786
return true;
17891787
}
17901788
return false;

0 commit comments

Comments
 (0)