TypeScript/tests/baselines/reference/contextualTyping40.js

6 lines
169 B
TypeScript
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; };