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