2014-07-13 01:04:16 +02:00
|
|
|
//// [contextualTyping22.ts]
|
|
|
|
var foo:(a:number)=>number = function(a){return a}; foo = function(b){return b};
|
|
|
|
|
|
|
|
//// [contextualTyping22.js]
|
2015-02-07 05:03:24 +01:00
|
|
|
var foo = function (a) { return a; };
|
|
|
|
foo = function (b) { return b; };
|