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