mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
fix(closure): add Closure externs for angular.$q.Promise.finally
Closes #4757
This commit is contained in:
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
|
||||
*****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user