2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/variableDeclarator1.ts ===
|
|
|
|
var a = function () {
|
|
|
|
>a : () => number
|
2014-08-22 03:39:46 +02:00
|
|
|
>function () { var c = 1; return c; } : () => number
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var c = 1;
|
|
|
|
>c : number
|
|
|
|
|
|
|
|
return c;
|
|
|
|
>c : number
|
|
|
|
|
|
|
|
};
|