TypeScript/tests/baselines/reference/contextualTyping38.js

8 lines
162 B
JavaScript
Raw Normal View History

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