TypeScript/tests/baselines/reference/objectLitTargetTypeCallSite.errors.txt

8 lines
281 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/objectLitTargetTypeCallSite.ts (1 errors) ====
function process( x: {a:number; b:string;}) {
return x.a;
}
process({a:true,b:"y"});
~~~~~~~~~~~~~~~~~~~~~~~
!!! Supplied parameters do not match any signature of call target.