TypeScript/tests/baselines/reference/contextualTyping40.js

8 lines
175 B
JavaScript
Raw Normal View History

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