17 lines
254 B
Text
17 lines
254 B
Text
|
=== tests/cases/compiler/funduleOfFunctionWithoutReturnTypeAnnotation.ts ===
|
||
|
function fn() {
|
||
|
>fn : typeof fn
|
||
|
|
||
|
return fn.n;
|
||
|
>fn.n : number
|
||
|
>fn : typeof fn
|
||
|
>n : number
|
||
|
}
|
||
|
module fn {
|
||
|
>fn : typeof fn
|
||
|
|
||
|
export var n = 1;
|
||
|
>n : number
|
||
|
}
|
||
|
|