=== tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType1_ES6.ts === interface I { >I : I, Symbol(I, Decl(computedPropertyNamesContextualType1_ES6.ts, 0, 0)) [s: string]: (x: string) => number; >s : string, Symbol(s, Decl(computedPropertyNamesContextualType1_ES6.ts, 1, 5)) >x : string, Symbol(x, Decl(computedPropertyNamesContextualType1_ES6.ts, 1, 18)) [s: number]: (x: any) => number; // Doesn't get hit >s : number, Symbol(s, Decl(computedPropertyNamesContextualType1_ES6.ts, 2, 5)) >x : any, Symbol(x, Decl(computedPropertyNamesContextualType1_ES6.ts, 2, 18)) } var o: I = { >o : I, Symbol(o, Decl(computedPropertyNamesContextualType1_ES6.ts, 5, 3)) >I : I, Symbol(I, Decl(computedPropertyNamesContextualType1_ES6.ts, 0, 0)) >{ ["" + 0](y) { return y.length; }, ["" + 1]: y => y.length} : { [x: string]: (y: string) => number; [x: number]: undefined; } ["" + 0](y) { return y.length; }, >"" + 0 : string >"" : string >0 : number >y : string, Symbol(y, Decl(computedPropertyNamesContextualType1_ES6.ts, 6, 13)) >y.length : number, Symbol(String.length, Decl(lib.d.ts, 414, 19)) >y : string, Symbol(y, Decl(computedPropertyNamesContextualType1_ES6.ts, 6, 13)) >length : number, Symbol(String.length, Decl(lib.d.ts, 414, 19)) ["" + 1]: y => y.length >"" + 1 : string >"" : string >1 : number >y => y.length : (y: string) => number >y : string, Symbol(y, Decl(computedPropertyNamesContextualType1_ES6.ts, 7, 13)) >y.length : number, Symbol(String.length, Decl(lib.d.ts, 414, 19)) >y : string, Symbol(y, Decl(computedPropertyNamesContextualType1_ES6.ts, 7, 13)) >length : number, Symbol(String.length, Decl(lib.d.ts, 414, 19)) }