Closed
Description
Continuing conversation from here typescript-eslint/typescript-eslint#5610 (comment): We (typescript-eslint) generally try not to use string in
checking pattern on AST nodes, as it's a little imprecise. We normally check for specific types.
- if ('async' in node && node.async) {
+ if (isFunctionLike(node) && node.async) {
How about making this an ESLint rule?
cc @eliasm307 since we were chatting 🙂