mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
fix(closure): add Closure externs for angular.$q.Promise.finally
Closes #4757
This commit is contained in:
parent
1bb33cccbe
commit
caeb740265
1 changed files with 6 additions and 0 deletions
6
closure/angular.js
vendored
6
closure/angular.js
vendored
|
|
@ -1667,6 +1667,12 @@ angular.$q.Promise;
|
|||
*/
|
||||
angular.$q.Promise.then = function(successCallback, opt_errorCallback) {};
|
||||
|
||||
/**
|
||||
* @param {?function(?)} callback
|
||||
* @return {angular.$q.Promise}
|
||||
*/
|
||||
angular.$q.Promise.finally = function(callback) {};
|
||||
|
||||
/******************************************************************************
|
||||
* $route Service
|
||||
*****************************************************************************/
|
||||
|
|
|
|||
Loading…
Reference in a new issue