TypeScript/tests/baselines/reference/interfacePropertiesWithSameName3.js
2014-07-12 17:30:19 -07:00

22 lines
426 B
TypeScript

//// [interfacePropertiesWithSameName3.ts]
interface D { a: number; }
interface E { a: string; }
interface F extends E, D { } // error
class D2 { a: number; }
class E2 { a: string; }
interface F2 extends E2, D2 { } // error
//// [interfacePropertiesWithSameName3.js]
var D2 = (function () {
function D2() {
}
return D2;
})();
var E2 = (function () {
function E2() {
}
return E2;
})();