E0178: 'await' cannot be followed by an arrow function; use 'async' instead
Arrow functions can contain await
if they are marked async
. It is an error
to write await
instead of async
when making an arrow function:
To fix this error, write async
instead of await
:
Introduced in quick-lint-js version 0.6.0.