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

Commit 280b5ce

Browse files
David Bennettpetebacondarwin
David Bennett
authored andcommitted
chore(closure): add $routeProvider#redirectTo function parameters
Closes #5173
1 parent fbc5cf5 commit 280b5ce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

closure/angular.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,8 @@ angular.$routeProvider.when = function(path, route) {};
17091709
* resolve: (Object.<string, (
17101710
* string|Function|Array.<string|Function>|angular.$q.Promise
17111711
* )>|undefined),
1712-
* redirectTo: (string|function()|undefined),
1712+
* redirectTo: (
1713+
* string|function(Object.<string>, string, Object): string|undefined),
17131714
* reloadOnSearch: (boolean|undefined)
17141715
* }}
17151716
*/
@@ -1732,7 +1733,7 @@ angular.$routeProvider.Params.templateUrl;
17321733
*/
17331734
angular.$routeProvider.Params.resolve;
17341735

1735-
/** @type {string|function()} */
1736+
/** @type {string|function(Object.<string>, string, Object): string} */
17361737
angular.$routeProvider.Params.redirectTo;
17371738

17381739
/** @type {boolean} */

0 commit comments

Comments
 (0)