TypeScript/tests/baselines/reference/contextualTyping41.js

6 lines
181 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [contextualTyping41.ts]
var foo = <{():number; (i:number):number; }> (function(){return "err";});
//// [contextualTyping41.js]
var foo = (function () { return "err"; });