mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +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;
|
|
}
|
|
} |