Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enforce specification of return types in TypeScript (#314)
Enable the `@typescript-eslint/explicit-function-return-type` rule, which enforces that return types are specified for all functions. Being explicit about the return type makes it easier to see type without having to open the code in an editor, and communicating what a function _ought_ to return prevents bugs from sneaking in (in case the return value is not being tested).
- Loading branch information