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