Transition.then - it's optional, really is, to pass "onRejected" callback

This commit is contained in:
Inez Korczynski
2015-05-20 17:31:28 -07:00
parent 6aa0f25a1a
commit 720878aee7
+1 -1
View File
@@ -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