==== tests/cases/conformance/types/namedTypes/interfaceWithPrivateMember.ts (5 errors) ==== // interfaces do not permit private members, these are errors interface I { private x: string; ~~~~~~~ !!! Property or signature expected. } interface I2 { private y: T; ~~~~~~~ !!! Property or signature expected. } var x: { private y: string; ~~~~~~~ !!! Property or signature expected. ~~~~~~ !!! Cannot find name 'string'. } ~ !!! Declaration or statement expected.