2015-03-31 01:59:34 +02:00
|
|
|
=== 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))
|
2015-03-31 01:59:34 +02:00
|
|
|
>func() : () => typeof func
|
2015-04-13 23:01:57 +02:00
|
|
|
>func : () => typeof func, Symbol(func, Decl(es5ExportDefaultFunctionDeclaration3.ts, 1, 33))
|
2015-03-31 01:59:34 +02:00
|
|
|
|
|
|
|
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))
|
2015-03-31 01:59:34 +02:00
|
|
|
|
|
|
|
return func;
|
2015-04-13 23:01:57 +02:00
|
|
|
>func : () => typeof func, Symbol(func, Decl(es5ExportDefaultFunctionDeclaration3.ts, 1, 33))
|
2015-03-31 01:59:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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))
|
2015-03-31 01:59:34 +02:00
|
|
|
>func() : () => typeof func
|
2015-04-13 23:01:57 +02:00
|
|
|
>func : () => typeof func, Symbol(func, Decl(es5ExportDefaultFunctionDeclaration3.ts, 1, 33))
|
2015-03-31 01:59:34 +02:00
|
|
|
|