TypeScript/tests/cases/conformance/es6/modules/defaultExportInAwaitExpression01.ts
Yui 8ee8d8c63c [Transforms] Add test from fixing 8256 into transforms branch (#8294)
* Update baselines

* Add tests

* Update baselines from merging with transforms
2016-04-25 18:49:47 -07:00

13 lines
246 B
TypeScript

// @target: ES6
// @module: umd
// @filename: a.ts
const x = new Promise( ( resolve, reject ) => { resolve( {} ); } );
export default x;
// @filename: b.ts
import x from './a';
( async function() {
const value = await x;
}() );