TypeScript/tests/cases/compiler/bases.ts

20 lines
209 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
interface I {
x;
}
class B {
constructor() {
this.y: any;
}
}
class C extends B implements I {
constructor() {
this.x: any;
}
}
new C().x;
new C().y;