mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
8 lines
154 B
TypeScript
8 lines
154 B
TypeScript
|
class C { foo: string; }
|
||
|
|
||
|
module M {
|
||
|
var C = 1;
|
||
|
class D extends C { // error, C must evaluate to constructor function
|
||
|
bar: string;
|
||
|
}
|
||
|
}
|