mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-16 05:58:32 -06:00
treat classes as block scoped entities
This commit is contained in:
parent
39c877a7f9
commit
dfdfec9efa
@ -606,6 +606,9 @@ namespace ts {
|
||||
// return C;
|
||||
// }(D))
|
||||
|
||||
if (node.name) {
|
||||
enableSubstitutionsForBlockScopedBindings();
|
||||
}
|
||||
const baseTypeNode = getClassExtendsHeritageClauseElement(node);
|
||||
const classFunction = createFunctionExpression(
|
||||
/*asteriskToken*/ undefined,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user