This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Rule request: no-implicit-null-return-types #356
Labels
External
Issues that should be addressed in other repositories.
Requires Type Checker
Must be implemented with a "typed" rule that uses a TypeScript program.
Type: Rule Suggestion
Adding a new rule that doesn't yet exist here or in TSLint core.
Milestone
For teams with a large code base, turning on
--strictNullChecks
can take a while. Having rules that do part of the work would help incrementally enabling it.If a function may return null or undefined, its return type should reflect this.
Bad:
Better:
The text was updated successfully, but these errors were encountered: