mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
258 B
TypeScript
14 lines
258 B
TypeScript
//// [tests/cases/compiler/badOverloadError.ts] ////
|
|
|
|
//// [badOverloadError.ts]
|
|
function method() {
|
|
var dictionary = <{ [index: string]: string; }>{};
|
|
}
|
|
|
|
|
|
//// [badOverloadError.js]
|
|
"use strict";
|
|
function method() {
|
|
var dictionary = {};
|
|
}
|