Files
tsgo/testdata/baselines/reference/submodule/conformance/defaultExportInAwaitExpression02.symbols

25 lines
793 B
Plaintext

//// [tests/cases/conformance/es6/modules/defaultExportInAwaitExpression02.ts] ////
=== a.ts ===
const x = new Promise( ( resolve, reject ) => { resolve( {} ); } );
>x : Symbol(x, Decl(a.ts, 0, 5))
>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, --, --))
>resolve : Symbol(resolve, Decl(a.ts, 0, 24))
>reject : Symbol(reject, Decl(a.ts, 0, 33))
>resolve : Symbol(resolve, Decl(a.ts, 0, 24))
export default x;
>x : Symbol(x, Decl(a.ts, 0, 5))
=== b.ts ===
import x from './a';
>x : Symbol(x, Decl(b.ts, 0, 6))
( async function() {
const value = await x;
>value : Symbol(value, Decl(b.ts, 3, 9))
>x : Symbol(x, Decl(b.ts, 0, 6))
}() );