[explicit-module-boundary-types] Complains about higher order functions that are not directly typed #2173
Labels
bug
Something isn't working
has pr
there is a PR raised to close this
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
Shouldn't give an error for any function where the return type is in any way explicitly typed.
Actual Result
Throws errors, for anything that is more then one function deep into a higher order return type. So either higher order functions 3-levels deep or higher order functions, where the whole function is typed instead of just the return type of the top level higher order function.
Additional Info
Reproduction repo: https://github.com/essenmitsosse/typescript-eslint-explicit-module-boundary-types
Thanks by the way for so quickly fixing the first issue.
Issue also appears in 3.1.1-alpha.4. So it isn't fixed by #2169
Versions
The text was updated successfully, but these errors were encountered: