Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider enabling explicit-module-boundary-types #231

Open
jaworek opened this issue Oct 14, 2021 · 0 comments
Open

Consider enabling explicit-module-boundary-types #231

jaworek opened this issue Oct 14, 2021 · 0 comments

Comments

@jaworek
Copy link
Contributor

jaworek commented Oct 14, 2021

Describe the feature

Explicit types for function return values and arguments makes it clear to any calling code what is the module boundary's input and output.

https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/explicit-module-boundary-types.md

This might be a big change for some of the projects that use this config, so it should be considered as breaking change.

Motivation

It improves debugging and makes sure that returned types are correct.

Related Issues

jestjs/jest#9539

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant