8 lines
311 B
TypeScript
8 lines
311 B
TypeScript
//// [targetTypingOnFunctions.ts]
|
|
var fu: (s: string) => string = function (s) { return s.toLowerCase() };
|
|
|
|
var zu = fu = function (s) { return s.toLowerCase() };
|
|
|
|
//// [targetTypingOnFunctions.js]
|
|
var fu = function (s) { return s.toLowerCase(); };
|
|
var zu = fu = function (s) { return s.toLowerCase(); };
|