TypeScript/tests/baselines/reference/returnStatement1.types
2014-08-28 12:52:44 -07:00

17 lines
313 B
Plaintext

=== tests/cases/compiler/returnStatement1.ts ===
function f() {
>f : () => (s: any) => void
return function (s) {
>function (s) { var x = s; } : (s: any) => void
>s : any
var x = s;
>x : any
>s : any
};
("harmless extra line");
>("harmless extra line") : string
}