TypeScript/tests/baselines/reference/contextualTyping39.js

8 lines
169 B
JavaScript
Raw Normal View History

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