TypeScript/tests/baselines/reference/returnStatement1.types
2015-04-13 14:29:37 -07:00

18 lines
525 B
Plaintext

=== tests/cases/compiler/returnStatement1.ts ===
function f() {
>f : () => (s: any) => void, Symbol(f, Decl(returnStatement1.ts, 0, 0))
return function (s) {
>function (s) { var x = s; } : (s: any) => void
>s : any, Symbol(s, Decl(returnStatement1.ts, 1, 21))
var x = s;
>x : any, Symbol(x, Decl(returnStatement1.ts, 2, 11))
>s : any, Symbol(s, Decl(returnStatement1.ts, 1, 21))
};
("harmless extra line");
>("harmless extra line") : string
>"harmless extra line" : string
}