TypeScript/tests/baselines/reference/interfacePropertiesWithSameName3.js

22 lines
426 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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;
})();