//// [interfaceWithPropertyThatIsPrivateInBaseType2.ts] class Base { private x() {} } interface Foo extends Base { // error x(): any; } class Base2 { private x() { } } interface Foo2 extends Base2 { // error x(): any; } //// [interfaceWithPropertyThatIsPrivateInBaseType2.js] var Base = (function () { function Base() { } Base.prototype.x = function () { }; return Base; })(); var Base2 = (function () { function Base2() { } Base2.prototype.x = function () { }; return Base2; })();