TypeScript/tests/baselines/reference/returnStatement1.types
2015-10-13 11:17:10 -07:00

19 lines
348 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
>"harmless extra line" : string
}