TypeScript/tests/baselines/reference/es5ExportDefaultFunctionDeclaration3.types

23 lines
1.1 KiB
Plaintext
Raw Normal View History

=== tests/cases/compiler/es5ExportDefaultFunctionDeclaration3.ts ===
var before: typeof func = func();
2015-04-13 23:01:57 +02:00
>before : () => typeof func, Symbol(before, Decl(es5ExportDefaultFunctionDeclaration3.ts, 1, 3))
>func : () => typeof func, Symbol(func, Decl(es5ExportDefaultFunctionDeclaration3.ts, 1, 33))
>func() : () => typeof func
2015-04-13 23:01:57 +02:00
>func : () => typeof func, Symbol(func, Decl(es5ExportDefaultFunctionDeclaration3.ts, 1, 33))
export default function func(): typeof func {
2015-04-13 23:01:57 +02:00
>func : () => typeof func, Symbol(func, Decl(es5ExportDefaultFunctionDeclaration3.ts, 1, 33))
>func : () => typeof func, Symbol(func, Decl(es5ExportDefaultFunctionDeclaration3.ts, 1, 33))
return func;
2015-04-13 23:01:57 +02:00
>func : () => typeof func, Symbol(func, Decl(es5ExportDefaultFunctionDeclaration3.ts, 1, 33))
}
var after: typeof func = func();
2015-04-13 23:01:57 +02:00
>after : () => typeof func, Symbol(after, Decl(es5ExportDefaultFunctionDeclaration3.ts, 7, 3))
>func : () => typeof func, Symbol(func, Decl(es5ExportDefaultFunctionDeclaration3.ts, 1, 33))
>func() : () => typeof func
2015-04-13 23:01:57 +02:00
>func : () => typeof func, Symbol(func, Decl(es5ExportDefaultFunctionDeclaration3.ts, 1, 33))