tests/cases/compiler/thisBinding.ts(9,8): error TS2339: Property 'e' does not exist on type 'I'.


==== tests/cases/compiler/thisBinding.ts (1 errors) ====
    module M {
        export interface I {
    	z;
        }
    
        export class C {
    	public x=0;
    	f(x:I) {
    	    x.e;  // e not found
    	      ~
!!! error TS2339: Property 'e' does not exist on type 'I'.
    	    x.z;  // ok 
    	}
        constructor() {
    	({z:10,f:this.f}).f(<I>({}));
        }
        }
    }
    
    class C {
        f(x: number) {
        }
    }