TypeScript/tests/baselines/reference/asyncArrowFunction6_es6.js
2015-05-07 11:13:45 -07:00

9 lines
228 B
TypeScript

//// [asyncArrowFunction6_es6.ts]
var foo = async (a = await): Promise<void> => {
}
//// [asyncArrowFunction6_es6.js]
var foo = (...arguments_1) => __awaiter(function *(a = await) {
}.apply(this, arguments_1), Promise);