mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-20 13:45:34 -05:00
treat classes as block scoped entities
This commit is contained in:
@@ -606,6 +606,9 @@ namespace ts {
|
||||
// return C;
|
||||
// }(D))
|
||||
|
||||
if (node.name) {
|
||||
enableSubstitutionsForBlockScopedBindings();
|
||||
}
|
||||
const baseTypeNode = getClassExtendsHeritageClauseElement(node);
|
||||
const classFunction = createFunctionExpression(
|
||||
/*asteriskToken*/ undefined,
|
||||
|
||||
Reference in New Issue
Block a user