22 lines
521 B
Text
22 lines
521 B
Text
=== 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
|
|
|