TypeScript/tests/baselines/reference/es5ExportDefaultFunctionDeclaration3.types

22 lines
1.1 KiB
Text

=== tests/cases/compiler/es5ExportDefaultFunctionDeclaration3.ts ===
var before: typeof func = func();
>before : () => typeof func, Symbol(before,Decl(es5ExportDefaultFunctionDeclaration3.ts,1,3))
>func : () => typeof func, Symbol(func,Decl(es5ExportDefaultFunctionDeclaration3.ts,1,33))
>func() : () => typeof func
>func : () => typeof func, Symbol(func,Decl(es5ExportDefaultFunctionDeclaration3.ts,1,33))
export default function func(): typeof func {
>func : () => typeof func, Symbol(func,Decl(es5ExportDefaultFunctionDeclaration3.ts,1,33))
>func : () => typeof func, Symbol(func,Decl(es5ExportDefaultFunctionDeclaration3.ts,1,33))
return func;
>func : () => typeof func, Symbol(func,Decl(es5ExportDefaultFunctionDeclaration3.ts,1,33))
}
var after: typeof func = func();
>after : () => typeof func, Symbol(after,Decl(es5ExportDefaultFunctionDeclaration3.ts,7,3))
>func : () => typeof func, Symbol(func,Decl(es5ExportDefaultFunctionDeclaration3.ts,1,33))
>func() : () => typeof func
>func : () => typeof func, Symbol(func,Decl(es5ExportDefaultFunctionDeclaration3.ts,1,33))