TypeScript/tests/baselines/reference/returnStatement1.types

18 lines
346 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
>s : any
2014-08-15 23:33:16 +02:00
var x = s;
>x : any
>s : any
2014-08-15 23:33:16 +02:00
};
("harmless extra line");
>("harmless extra line") : string
2015-04-13 21:36:11 +02:00
>"harmless extra line" : string
2014-08-15 23:33:16 +02:00
}