mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
23 lines
248 B
TypeScript
23 lines
248 B
TypeScript
|
interface I {
|
||
|
x: number;
|
||
|
}
|
||
|
|
||
|
interface IConstructor {
|
||
|
new (): I;
|
||
|
|
||
|
y: number;
|
||
|
prototype: I;
|
||
|
}
|
||
|
|
||
|
var I: IConstructor;
|
||
|
|
||
|
abstract class A {
|
||
|
x: number;
|
||
|
static y: number;
|
||
|
}
|
||
|
|
||
|
var AA: typeof A;
|
||
|
AA = I;
|
||
|
|
||
|
var AAA: typeof I;
|
||
|
AAA = A;
|