title: Returning Promise< void > instead of Promise<any>
body: <p>I developed through AngularJS many asynchronous functions with the same signature which is app.Domain.GenericModel.EntityBase (my generic model) 
  This is a sample:</p>
  
  <pre><code>get(resource: string): ng.IPromise&lt;app.Domain.GenericModel.EntityBase[]&gt; {
              var self = this;
              var deferred = self.qService.defer();
              self.httpService.get(resource).then(function (result: any) {
                  deferred.resolve(result.data);
              }, function (errors) {
                  self.exception = new app.Exceptions.Model.Exception(errors.status, errors.statusText);
                  deferred.reject(self.exception);
              });
  
              return deferred.promise;
          }
  </code></pre>
  
  <p>Then I tried to call some services which are similar to the previous one with chained promises.So, I got this error : "Type IPromise is not assignable to type IPromise, Type EntityBase is not assignable to type void"</p>
  
  <pre><code>   var self = this; 
      var promise = self.$q.when();
      promise = promise.then(() =&gt; {
                                              return self.EcritureService.get(critureToSave);
                                          }).then((compte: EntityBase) =&gt; {
                                              return self.CompteService.getSingle(Number(data.compte));
                                          }).then((EntityBase) =&gt; {
                                              currentAccount.montantCpt = currentAccount.montantCpt + montant;
                                              return self.CompteService.update(currentAccount:EntityBase);
                                          });
  </code></pre>
  
  <p><strong>I search a lot for this dilemma and all I've got, an inconspicuous method to convert my functions' returns to the common pattern "IPromise" through Type assertion which mostly based on the compiler's deception or something like that.
  I didn't comprehend this trick if anyone else have an idea..could he clarify it no matter what it's efficient or not.</strong></p>