routeParams are {!Object<string, string>}
Calling Object.keys on null is a TypeError. And the mapping should be string -> string. Closes #10896
This commit is contained in:
committed by
Peter Bacon Darwin
parent
27bf2ce40c
commit
400fbbf1d6
@@ -477,7 +477,7 @@ function $RouteProvider() {
|
||||
* definitions will be interpolated into the location's path, while
|
||||
* remaining properties will be treated as query params.
|
||||
*
|
||||
* @param {Object} newParams mapping of URL parameter names to values
|
||||
* @param {!Object<string, string>} newParams mapping of URL parameter names to values
|
||||
*/
|
||||
updateParams: function(newParams) {
|
||||
if (this.current && this.current.$$route) {
|
||||
|
||||
Reference in New Issue
Block a user