| 1 |
"use strict"; |
| 2 |
class Hello { |
| 3 |
constructor() { |
| 4 |
return () => () => "hello"; |
| 5 |
} |
| 6 |
} |
| 7 |
|
| 8 |
class Outer extends Hello { |
| 9 |
constructor() { |
| 10 |
class Inner { |
| 11 |
@(super()) hello; |
| 12 |
} |
| 13 |
|
| 14 |
return new Inner(); |
| 15 |
} |
| 16 |
} |
| 17 |
|
| 18 |
expect(new Outer().hello).toBe('hello'); |