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