[no-implied-eval] False positive with callback: Function #2358
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
ESLint detects 0 problems
Actual Result
2:16 error Implied eval. Consider passing a function @typescript-eslint/no-implied-eval
✖ 1 problem (1 error, 0 warnings)
Additional Info
Handler argument is parsed as
Identifier
butisFunctionType()
returns for it false.Versions
@typescript-eslint/eslint-plugin
3.8.0
@typescript-eslint/parser
3.8.0
TypeScript
3.9.7
ESLint
7.6.0
node
14.6.0
npm
6.14.5
The text was updated successfully, but these errors were encountered: