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

7 lines
376 B
Plaintext

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