11 lines
318 B
Text
11 lines
318 B
Text
=== 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; }
|
|
}
|
|
|