mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
481 B
Plaintext
11 lines
481 B
Plaintext
//// [tests/cases/compiler/exportDefaultAsyncFunction.ts] ////
|
|
|
|
=== exportDefaultAsyncFunction.ts ===
|
|
export default async function foo(): Promise<void> {}
|
|
>foo : Symbol(foo, Decl(exportDefaultAsyncFunction.ts, 0, 0))
|
|
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
|
|
|
foo();
|
|
>foo : Symbol(foo, Decl(exportDefaultAsyncFunction.ts, 0, 0))
|
|
|