Pattern: Incomplete Promise
Issue: -
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.