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