From 523fc5536c14030848cfa1ed6003ae897fa74ebc Mon Sep 17 00:00:00 2001 From: vsavkin Date: Tue, 14 Jun 2016 16:29:37 -0700 Subject: [PATCH] fix(router): fix Params type to allow passing any value types when calling router.navigate --- modules/@angular/router/src/shared.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/@angular/router/src/shared.ts b/modules/@angular/router/src/shared.ts index 8824d9e78d..71fec4d4a4 100644 --- a/modules/@angular/router/src/shared.ts +++ b/modules/@angular/router/src/shared.ts @@ -8,5 +8,5 @@ export const PRIMARY_OUTLET = 'PRIMARY_OUTLET'; * A collection of parameters. */ export type Params = { - [key: string]: string + [key: string]: any };