18 lines
894 B
Plaintext
18 lines
894 B
Plaintext
=== tests/cases/compiler/funduleOfFunctionWithoutReturnTypeAnnotation.ts ===
|
|
function fn() {
|
|
>fn : typeof fn, Symbol(fn, Decl(funduleOfFunctionWithoutReturnTypeAnnotation.ts, 0, 0), Decl(funduleOfFunctionWithoutReturnTypeAnnotation.ts, 2, 1))
|
|
|
|
return fn.n;
|
|
>fn.n : number, Symbol(fn.n, Decl(funduleOfFunctionWithoutReturnTypeAnnotation.ts, 4, 14))
|
|
>fn : typeof fn, Symbol(fn, Decl(funduleOfFunctionWithoutReturnTypeAnnotation.ts, 0, 0), Decl(funduleOfFunctionWithoutReturnTypeAnnotation.ts, 2, 1))
|
|
>n : number, Symbol(fn.n, Decl(funduleOfFunctionWithoutReturnTypeAnnotation.ts, 4, 14))
|
|
}
|
|
module fn {
|
|
>fn : typeof fn, Symbol(fn, Decl(funduleOfFunctionWithoutReturnTypeAnnotation.ts, 0, 0), Decl(funduleOfFunctionWithoutReturnTypeAnnotation.ts, 2, 1))
|
|
|
|
export var n = 1;
|
|
>n : number, Symbol(n, Decl(funduleOfFunctionWithoutReturnTypeAnnotation.ts, 4, 14))
|
|
>1 : number
|
|
}
|
|
|