=== tests/cases/compiler/badOverloadError.ts === function method() { >method : () => void var dictionary = <{ [index: string]: string; }>{}; >dictionary : { [index: string]: string; } ><{ [index: string]: string; }>{} : { [index: string]: string; } >index : string >{} : { [x: string]: undefined; } }