6 lines
135 B
TypeScript
6 lines
135 B
TypeScript
// Should be OK due to hoisting
|
|
class Derived extends makeBaseClass() {}
|
|
|
|
function makeBaseClass() {
|
|
return class Base {};
|
|
}
|