Make sure __Promise properly extends dojo.promise.Promise<any> under --strictNullChecks

This commit is contained in:
Mohamed Hegazy 2016-07-07 15:16:36 -07:00
parent a5d477d085
commit a36070aeff

2
dojo/index.d.ts vendored
View File

@ -978,7 +978,7 @@ declare namespace dojo {
*
* @param errback OptionalCallback to be invoked when the promise is rejected.
*/
otherwise(errback: Function): any;
otherwise(errback?: Function): any;
/**
* Add new callbacks to the promise.
* Add new callbacks to the deferred. Callbacks can be added