We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$routeProvider#redirectTo
1 parent 6f930be commit e87b2baCopy full SHA for e87b2ba
closure/angular.js
@@ -1709,7 +1709,8 @@ angular.$routeProvider.when = function(path, route) {};
1709
* resolve: (Object.<string, (
1710
* string|Function|Array.<string|Function>|angular.$q.Promise
1711
* )>|undefined),
1712
- * redirectTo: (string|function()|undefined),
+ * redirectTo: (
1713
+ * string|function(Object.<string>, string, Object): string|undefined),
1714
* reloadOnSearch: (boolean|undefined)
1715
* }}
1716
*/
@@ -1732,7 +1733,7 @@ angular.$routeProvider.Params.templateUrl;
1732
1733
1734
angular.$routeProvider.Params.resolve;
1735
-/** @type {string|function()} */
1736
+/** @type {string|function(Object.<string>, string, Object): string} */
1737
angular.$routeProvider.Params.redirectTo;
1738
1739
/** @type {boolean} */
0 commit comments