Skip to content

Files

Latest commit

 

History

History
17 lines (11 loc) · 534 Bytes

promise-must-complete.md

File metadata and controls

17 lines (11 loc) · 534 Bytes

Pattern: Incomplete Promise

Issue: -

Description

When a Promise instance is created, then either the reject() or resolve() parameter must be called on it within all code branches in the scope.

This rule has some overlap with the tslint no-floating-promises rule, but they are substantially different.

Further Reading