fix(router): make routerLinkActive work with query params which contain arrays (#22666)

The url_tree equalQueryParams and containsQueryParam methods did not handle query params that has arrays, which resulted in the routerLinkActive to not behave as expected, change was made to ensure query params with arrays are handled correctly

fixes #22223

PR Close #22666
This commit is contained in:
Zaid Al-Omari
2018-03-09 03:29:55 +04:00
committed by Kara Erickson
parent 06e36e5972
commit 8e5ed203bc
4 changed files with 48 additions and 6 deletions

View File

@ -25,7 +25,7 @@ export const PRIMARY_OUTLET = 'primary';
* @publicApi
*/
export type Params = {
[key: string]: any
[key: string]: any;
};
/**