2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/badOverloadError.ts ===
|
|
|
|
function method() {
|
|
|
|
>method : () => void
|
|
|
|
|
|
|
|
var dictionary = <{ [index: string]: string; }>{};
|
2014-12-06 01:58:49 +01:00
|
|
|
>dictionary : { [index: string]: string; }
|
|
|
|
><{ [index: string]: string; }>{} : { [index: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
>index : string
|
2014-10-13 15:56:58 +02:00
|
|
|
>{} : { [x: string]: undefined; }
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|