1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
=== tests/cases/conformance/es6/modules/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))
=== tests/cases/conformance/es6/modules/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))
}() );
|