[explicit-module-boundary-types] does not respect functions exported within array or object literals #2183
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
No errors; the export has an explicit type defined for all members.
Actual Result
"Missing return type on function."
"Argument 'x' should be typed."
Additional Info
There are no errors when the structure is simpler:
behaves as expected.
Versions
@typescript-eslint/eslint-plugin
3.1.0
@typescript-eslint/parser
3.1.0
TypeScript
3.9.3
ESLint
7.1.0
node
12.18.0
npm
6.14.4
The text was updated successfully, but these errors were encountered: