//// [functionOverloads42.ts]
function foo(bar:{a:number;}[]):string;
function foo(bar:{a:any;}[]):number;
function foo(bar:{a:any;}[]):any{ return bar }
var x = foo([{a:'s'}]);


//// [functionOverloads42.js]
function foo(bar) {
    return bar;
}
var x = foo([{ a: 's' }]);
