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