TypeScript/tests/baselines/reference/es5ExportDefaultFunctionDeclaration3.types
2015-04-15 16:44:20 -07:00

23 lines
521 B
Plaintext

=== tests/cases/compiler/es5ExportDefaultFunctionDeclaration3.ts ===
var before: typeof func = func();
>before : () => typeof func
>func : () => typeof func
>func() : () => typeof func
>func : () => typeof func
export default function func(): typeof func {
>func : () => typeof func
>func : () => typeof func
return func;
>func : () => typeof func
}
var after: typeof func = func();
>after : () => typeof func
>func : () => typeof func
>func() : () => typeof func
>func : () => typeof func