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

Force return type for functions #19

Open
patric-eberle opened this issue Apr 9, 2024 · 0 comments
Open

Force return type for functions #19

patric-eberle opened this issue Apr 9, 2024 · 0 comments

Comments

@patric-eberle
Copy link
Member

The TS return type for functions should be forced, so it is more obvious what type a function should return and it can also be tested, if the function is not used directly bug e.g. only referenced by name.

https://typescript-eslint.io/rules/explicit-function-return-type/

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