TypeScript/tests/baselines/reference/badOverloadError.types

12 lines
469 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/badOverloadError.ts ===
function method() {
2015-04-13 23:01:57 +02:00
>method : () => void, Symbol(method, Decl(badOverloadError.ts, 0, 0))
2014-08-15 23:33:16 +02:00
var dictionary = <{ [index: string]: string; }>{};
2015-04-13 23:01:57 +02:00
>dictionary : { [index: string]: string; }, Symbol(dictionary, Decl(badOverloadError.ts, 1, 7))
><{ [index: string]: string; }>{} : { [index: string]: string; }
2015-04-13 23:01:57 +02:00
>index : string, Symbol(index, Decl(badOverloadError.ts, 1, 25))
2014-10-13 15:56:58 +02:00
>{} : { [x: string]: undefined; }
2014-08-15 23:33:16 +02:00
}