TypeScript/tests/baselines/reference/badOverloadError.types

12 lines
318 B
Plaintext
Raw Normal View History

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