17 lines
346 B
Text
17 lines
346 B
Text
=== 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
|
|
}
|