@typescript-eslint/explicit-module-boundary-types
Ensure that the values returned from a module are of the expected type
The Codiga Static Analysis engine checks JavaScript code and supports many popular libraries. If you are using React, NextJS, Vue or Angular: the engine will flag any issue in your codebase. Automate your code reviews with Codiga and merge with confidence.
Ensure that the values returned from a module are of the expected type
Disallows assigning any to variables and properties as it creates a potential safety hole, and source of bugs in your codebase.
Disallows calling an any type value as it creates a potential safety hole, and source of bugs in your codebase.
Disallows member access on any typed variables as it creates a potential safety hole, and source of bugs in your codebase.
Warns when a method is used outside of a method call.
Warns against weak type annotations any, Object and Function.
Ensure that each time a then() is applied to a promise, a catch() is applied as well. Exceptions are made if you are returning that promise.
We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.