Namespaces do not have the same 'var' scope

This commit is contained in:
Ron Buckton
2018-01-17 11:30:48 -08:00
parent e655446318
commit afaa139475

View File

@@ -1783,8 +1783,6 @@ namespace ts {
case SyntaxKind.WhileStatement:
case SyntaxKind.TryStatement:
case SyntaxKind.CatchClause:
case SyntaxKind.ModuleDeclaration:
case SyntaxKind.ModuleBlock:
return true;
}
return false;