mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
Merge pull request #4412 from inez/master
Transition.then - it's optional, really is, to pass "onRejected" callback
This commit is contained in:
2
ember/ember.d.ts
vendored
2
ember/ember.d.ts
vendored
@@ -58,7 +58,7 @@ declare module EmberStates {
|
||||
@arg {String} label optional string for labeling the promise. Useful for tooling.
|
||||
@return {Promise}
|
||||
*/
|
||||
then(onFulfilled: Function, onRejected: Function, label?: string): Ember.RSVP.Promise;
|
||||
then(onFulfilled: Function, onRejected?: Function, label?: string): Ember.RSVP.Promise;
|
||||
|
||||
/**
|
||||
Forwards to the internal `promise` property which you can
|
||||
|
||||
Reference in New Issue
Block a user