Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit caeb740

Browse files
bigcmosIgorMinar
authored andcommitted
fix(closure): add Closure externs for angular.$q.Promise.finally
Closes #4757
1 parent 1bb33cc commit caeb740

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

closure/angular.js

+6
Original file line numberDiff line numberDiff line change
@@ -1667,6 +1667,12 @@ angular.$q.Promise;
16671667
*/
16681668
angular.$q.Promise.then = function(successCallback, opt_errorCallback) {};
16691669

1670+
/**
1671+
* @param {?function(?)} callback
1672+
* @return {angular.$q.Promise}
1673+
*/
1674+
angular.$q.Promise.finally = function(callback) {};
1675+
16701676
/******************************************************************************
16711677
* $route Service
16721678
*****************************************************************************/

0 commit comments

Comments
 (0)