From caeb7402651702cd13df2f1594e9827439a8b760 Mon Sep 17 00:00:00 2001 From: Daniel Aden Date: Fri, 1 Nov 2013 22:49:43 -0700 Subject: [PATCH] fix(closure): add Closure externs for angular.$q.Promise.finally Closes #4757 --- closure/angular.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/closure/angular.js b/closure/angular.js index abc05a157df3..bc04e0f98ea7 100644 --- a/closure/angular.js +++ b/closure/angular.js @@ -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 *****************************************************************************/