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