11 lines
187 B
TypeScript
11 lines
187 B
TypeScript
|
//// [badOverloadError.ts]
|
||
|
function method() {
|
||
|
var dictionary = <{ [index: string]: string; }>{};
|
||
|
}
|
||
|
|
||
|
|
||
|
//// [badOverloadError.js]
|
||
|
function method() {
|
||
|
var dictionary = {};
|
||
|
}
|