TypeScript/tests/baselines/reference/asyncArrowFunction6_es6.js

9 lines
203 B
TypeScript

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