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/functionDeclarations/asyncFunctionDeclaration6_es6.ts] ////
|
|
|
|
//// [asyncFunctionDeclaration6_es6.ts]
|
|
async function foo(a = await): Promise<void> {
|
|
}
|
|
|
|
//// [asyncFunctionDeclaration6_es6.js]
|
|
"use strict";
|
|
function foo() {
|
|
return __awaiter(this, arguments, void 0, function* (a = yield ) {
|
|
});
|
|
}
|