mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
354 B
TypeScript
13 lines
354 B
TypeScript
//// [tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction8_es6.ts] ////
|
|
|
|
//// [asyncArrowFunction8_es6.ts]
|
|
var foo = async (): Promise<void> => {
|
|
var v = { [await]: foo }
|
|
}
|
|
|
|
//// [asyncArrowFunction8_es6.js]
|
|
"use strict";
|
|
var foo = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
var v = { [yield ]: foo };
|
|
});
|