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