11 lines
253 B
TypeScript
11 lines
253 B
TypeScript
//// [asyncFunctionDeclaration14_es6.ts]
|
|
async function foo(): Promise<void> {
|
|
return;
|
|
}
|
|
|
|
//// [asyncFunctionDeclaration14_es6.js]
|
|
function foo() {
|
|
return __awaiter(function *() {
|
|
return;
|
|
}.apply(this, arguments), Promise);
|
|
}
|