tests/cases/compiler/interfaceImplementation6.ts(9,7): error TS2421: Class 'C2' incorrectly implements interface 'I1':
  Property 'item' is private in type 'C2' but not in type 'I1'.
tests/cases/compiler/interfaceImplementation6.ts(13,7): error TS2421: Class 'C3' incorrectly implements interface 'I1':
  Property 'item' is missing in type 'C3'.


==== tests/cases/compiler/interfaceImplementation6.ts (2 errors) ====
    interface I1 {
        item:number;
    }
    
    class C1 implements I1 {
        public item:number;
    }
    
    class C2 implements I1 {
          ~~
!!! error TS2421: Class 'C2' incorrectly implements interface 'I1':
!!! error TS2421:   Property 'item' is private in type 'C2' but not in type 'I1'.
        private item:number;
    }
    
    class C3 implements I1 {
          ~~
!!! error TS2421: Class 'C3' incorrectly implements interface 'I1':
!!! error TS2421:   Property 'item' is missing in type 'C3'.
        constructor() {
           var item: number;
        }
    }
     
    export class Test {
        private pt: I1 = { item: 1 };
    }
    
    
    