mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
373 B
TypeScript
13 lines
373 B
TypeScript
//// [tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration10_es5.ts] ////
|
|
|
|
//// [asyncFunctionDeclaration10_es5.ts]
|
|
async function foo(a = await => await): Promise<void> {
|
|
}
|
|
|
|
//// [asyncFunctionDeclaration10_es5.js]
|
|
"use strict";
|
|
function foo() {
|
|
return __awaiter(this, arguments, void 0, function* (a = yield , await) {
|
|
});
|
|
}
|