Files
tsgo/testdata/baselines/reference/submodule/conformance/asyncFunctionDeclaration5_es2017.errors.txt

8 lines
370 B
Plaintext

asyncFunctionDeclaration5_es2017.ts(1,20): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here.
==== asyncFunctionDeclaration5_es2017.ts (1 errors) ====
async function foo(await): Promise<void> {
~~~~~
!!! error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here.
}