8 lines
100 B
TypeScript
8 lines
100 B
TypeScript
|
class A {}
|
||
|
if (true) {
|
||
|
class B extends A {}
|
||
|
|
||
|
const foo = function () {
|
||
|
new B();
|
||
|
}
|
||
|
}
|