TypeScript/tests/baselines/reference/returnStatement1.types

17 lines
313 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/returnStatement1.ts ===
function f() {
>f : () => (s: any) => void
2014-08-15 23:33:16 +02:00
return function (s) {
2014-08-22 03:39:46 +02:00
>function (s) { var x = s; } : (s: any) => void
2014-08-15 23:33:16 +02:00
>s : any
var x = s;
>x : any
>s : any
};
("harmless extra line");
>("harmless extra line") : string
}