mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Make sure __Promise properly extends dojo.promise.Promise<any> under --strictNullChecks
This commit is contained in:
parent
a5d477d085
commit
a36070aeff
2
dojo/index.d.ts
vendored
2
dojo/index.d.ts
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user