TypeScript/tests/baselines/reference/es5ExportDefaultFunctionDeclaration3.types
2015-04-13 14:29:37 -07:00

23 lines
1.1 KiB
Plaintext

=== 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))