E0217: TypeScript interface methods cannot be marked 'async'
The async
keyword on methods changes the body of that method. TypeScript
interface methods do not have bodies. Therefore, async
does not make sense on
TypeScript interface methods, and it is a syntax error to write it:
To fix this error, remove the async
keyword:
Introduced in quick-lint-js version 2.6.0.