TypeScript/tests/baselines/reference/funduleOfFunctionWithoutReturnTypeAnnotation.types

18 lines
267 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/funduleOfFunctionWithoutReturnTypeAnnotation.ts ===
function fn() {
>fn : typeof fn
2014-08-15 23:33:16 +02:00
return fn.n;
>fn.n : number
>fn : typeof fn
>n : number
2014-08-15 23:33:16 +02:00
}
module fn {
>fn : typeof fn
2014-08-15 23:33:16 +02:00
export var n = 1;
>n : number
2015-04-13 21:36:11 +02:00
>1 : number
2014-08-15 23:33:16 +02:00
}