mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +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; |