fix(router): fix a typing issue
fix(router): fix a typing issue

Closes #5518

alfonso-presa/angular,naomiblack/angular,kylecordes/angular,pk-karthik/framework-js-angular,juristr/angular,choeller/angular,SaltyDH/angular,domusofsail/angular,gdi2290/angular,blesh/angular,hansl/angular,templth/angular,erictsangx/angular,mdegoo/angular,ollie314/angular,mixed/angular,micmro/angular,alamgird/angular,IgorMinar/angular,manekinekko/angular,jteplitz602/angular,kwalrath/angular,mzgol/angular,cyrilgandon/angular,alamgird/angular,tbosch/angular,choeller/angular,alexpods/angular,Tragetaschen/angular,GistIcon/angular,alexcastillo/angular,vsavkin/angular,alexpods/angular,gkalpak/angular,meeroslav/angular,mzgol/angular,Symagic/angular,vinagreti/angular,ValtoFrameworks/Angular-2,snaptech/angular,graveto/angular,bkyarger/angular,tbosch/angular,gjungb/angular,basvandenheuvel/angular,Flounn/angular,choeller/angular,UIUXEngineering/angular,smartm0use/angular,IdeaBlade/angular,mhevery/angular,NathanWalker/angular,jonrimmer/angular,chrisse27/angular,Toxicable/angular,mhegazy/angular,gkalpak/angular,cexbrayat/angular,LucasSloan/angular,SaltyDH/angular,vicb/angular,gjungb/angular,ScottSWu/angular,epotvin/angular,Brocco/angular,nosovk/angular,chrisse27/angular,ollie314/angular,hdeshev/angular,gdi2290/angular,markharding/angular,cassand/angular,tolemac/angular,hterkelsen/angular,mlaval/angular,erictsangx/angular,mgechev/angular,hannahhoward/angular,ultrasonicsoft/angular,laskoviymishka/angular,Flounn/angular,hterkelsen/angular,zhura/angular,angularbrasil/angular,erictsangx/angular,Brocco/angular,kylecordes/angular,mgiambalvo/angular,rbevers/angular,zhura/angular,SaltyDH/angular,angularbrasil/angular,tamascsaba/angular,jonrimmer/angular,ValtoFrameworks/Angular-2,tycho01/angular,martinmcwhorter/angular,jasonaden/angular,dsebastien/angular,jonrimmer/angular,jesperronn/angular,kara/angular,meeroslav/angular,alexpods/angular,chajath/angular,LucasSloan/angular,cyrilgandon/angular,rjamet/angular,tycho01/angular,pk-karthik/framework-js-angular,mhegazy/angular,wKoza/angular,vsavkin/angular,hdeshev/angular,angular/angular,mixed/angular,SekibOmazic/angular,mlaval/angular,not-for-me/angular,juristr/angular,dtoroshin/n2oDoc,wKoza/angular,pkozlowski-opensource/angular,itamark/angular,pkozlowski-opensource/angular,JSMike/angular,hdeshev/angular,dmitriz/angular,jonrimmer/angular,alxhub/angular,mhegazy/angular,alexeagle/angular,cironunes/angular,ocombe/angular,Toxicable/angular,kylecordes/angular,rkirov/angular,youdz/angular,vicb/angular,asnowwolf/angular,vinagreti/angular,snaptech/angular,souldreamer/angular,antonmoiseev/angular,tyleranton/angular,sjtrimble/angular,alexpods/angular,ocombe/angular,ericmartinezr/angular,tamascsaba/angular,hansl/angular,jonrimmer/angular,gdi2290/angular,diestrin/angular,e-hein/angular,chuckjaz/angular,chrisse27/angular,hterkelsen/angular,ericmartinezr/angular,micmro/angular,dsebastien/angular,robertmesserle/angular,gionkunz/angular,royling/angular,shirish87/angular,alxhub/angular,shairez/angular,mgol/angular,mlaval/angular,tbosch/angular,e-schultz/angular,gnomeontherun/angular,vikerman/angular,markharding/angular,mprobst/angular,e-schultz/angular,chalin/angular,ghetolay/angular,vsavkin/angular,angular-indonesia/angular,NathanWalker/angular,GistIcon/angular,awerlang/angular,alexpods/angular,Symagic/angular,angularbrasil/angular,kegluneq/angular,kara/angular,naomiblack/angular,alamgird/angular,smartm0use/angular,aboveyou00/angular,dsebastien/angular,alxhub/angular,Flounn/angular,mprobst/angular,templth/angular,rkirov/angular,bkyarger/angular,cironunes/angular,robwormald/angular,chrisse27/angular,shirish87/angular,AlmogShaul/angular,alexcastillo/angular,IdeaBlade/angular,tyleranton/angular,hdeshev/angular,xcaliber-tech/angular,e-hein/angular,cironunes/angular,tyleranton/angular,alexeagle/angular,shairez/angular,mikeybyker/angular,micmro/angular,dydek/angular,itamark/angular,willseeyou/angular,mdegoo/angular,angularbrasil/angular,jesperronn/angular,graveto/angular,youdz/angular,StephenFluin/angular,IgorMinar/angular,blesh/angular,gionkunz/angular,hpinsley/angular,JanStureNielsen/angular,tolemac/angular,Mathou54/angular,alfonso-presa/angular,SekibOmazic/angular,dmitriz/angular,ochafik/angular,huoxudong125/angular,angular-indonesia/angular,chuckjaz/angular,kwalrath/angular,sjtrimble/angular,epotvin/angular,mgol/angular,dejour/angular,kevinmerckx/angular,wesleycho/angular,brandonroberts/angular,robertmesserle/angular,gionkunz/angular,jonrimmer/angular,kevinmerckx/angular,dydek/angular,hterkelsen/angular,mgol/angular,wesleycho/angular,chuckjaz/angular,mhevery/angular,dejour/angular,SekibOmazic/angular,filipesilva/angular,dtoroshin/n2oDoc,mhevery/angular,bkyarger/angular,sarunint/angular,snaptech/angular,xcaliber-tech/angular,kylecordes/angular,mixed/angular,kevinmerckx/angular,ocombe/angular,GistIcon/angular,sarunint/angular,blesh/angular,Flounn/angular,UIUXEngineering/angular,jhonmike/angular,StephenFluin/angular,IdeaBlade/angular,vinagreti/angular,jelbourn/angular,laco0416/angular,markharding/angular,AlmogShaul/angular,awerlang/angular,vandres/angular,Symagic/angular,JiaLiPassion/angular,souvikbasu/angular,mhegazy/angular,xcaliber-tech/angular,bkyarger/angular,jelbourn/angular,snaptech/angular,antonmoiseev/angular,meeroslav/angular,cyrilgandon/angular,matsko/angular,AlmogShaul/angular,pk-karthik/framework-js-angular,matsko/angular,mhegazy/angular,vicb/angular,naomiblack/angular,dmitriz/angular,cassand/angular,mgol/angular,sarunint/angular,royling/angular,mgiambalvo/angular,petebacondarwin/angular,heathkit/angular,kara/angular,huoxudong125/angular,hansl/angular,basvandenheuvel/angular,filipesilva/angular,e-schultz/angular,vsavkin/angular,souldreamer/angular,e-hein/angular,jasonaden/angular,xcaliber-tech/angular,angular-indonesia/angular,gjungb/angular,JiaLiPassion/angular,pk-karthik/framework-js-angular,kwalrath/angular,robertmesserle/angular,domusofsail/angular,souldreamer/angular,chalin/angular,nosovk/angular,cassand/angular,JSMike/angular,blesh/angular,GistIcon/angular,cyrilgandon/angular,cexbrayat/angular,vinagreti/angular,matsko/angular,tolemac/angular,alexeagle/angular,ghetolay/angular,kegluneq/angular,ultrasonicsoft/angular,dmitriz/angular,tyleranton/angular,dtoroshin/n2oDoc,jasonaden/angular,mlynch/angular,angularbrasil/angular,shirish87/angular,chalin/angular,not-for-me/angular,pkozlowski-opensource/angular,ScottSWu/angular,pkozlowski-opensource/angular,JanStureNielsen/angular,diestrin/angular,hannahhoward/angular,jelbourn/angular,robertmesserle/angular,e-schultz/angular,dsebastien/angular,shirish87/angular,panuruj/angular,JanStureNielsen/angular,hansl/angular,robwormald/angular,vamsivarikuti/angular,domusofsail/angular,mlaval/angular,hdeshev/angular,dsebastien/angular,trshafer/angular,UIUXEngineering-Forks/angular,awerlang/angular,trshafer/angular,juleskremer/angular,mgechev/angular,mixed/angular,mzgol/angular,trshafer/angular,laskoviymishka/angular,cexbrayat/angular,souvikbasu/angular,GistIcon/angular,chajath/angular,kegluneq/angular,xcaliber-tech/angular,AlmogShaul/angular,Brocco/angular,mikeybyker/angular,antonmoiseev/angular,shairez/angular,mprobst/angular,mdegoo/angular,juristr/angular,itamark/angular,hannahhoward/angular,petebacondarwin/angular,ericmartinezr/angular,vinagreti/angular,shairez/angular,e-hein/angular,sarunint/angular,alamgird/angular,cironunes/angular,JanStureNielsen/angular,heathkit/angular,jteplitz602/angular,rjamet/angular,snaptech/angular,UIUXEngineering-Forks/angular,vikerman/angular,angular/angular,domusofsail/angular,ollie314/angular,alexcastillo/angular,rjamet/angular,dmitriz/angular,ValtoFrameworks/Angular-2,souvikbasu/angular,hpinsley/angular,martinmcwhorter/angular,alexeagle/angular,IgorMinar/angular,LucasSloan/angular,rkirov/angular,vikerman/angular,mikeybyker/angular,souldreamer/angular,mgechev/angular,Brocco/angular,petebacondarwin/angular,gnomeontherun/angular,mlynch/angular,vicb/angular,brandonroberts/angular,NathanWalker/angular,pkozlowski-opensource/angular,ScottSWu/angular,dtoroshin/n2oDoc,SekibOmazic/angular,kylecordes/angular,domusofsail/angular,diestrin/angular,alxhub/angular,gionkunz/angular,souvikbasu/angular,mlynch/angular,IdeaBlade/angular,ochafik/angular,manekinekko/angular,gjungb/angular,gdi2290/angular,ochafik/angular,dsebastien/angular,ochafik/angular,mzgol/angular,ScottSWu/angular,snaptech/angular,NathanWalker/angular,trshafer/angular,bkyarger/angular,tycho01/angular,asnowwolf/angular,tolemac/angular,IgorMinar/angular,royling/angular,mhevery/angular,asnowwolf/angular,huoxudong125/angular,jesperronn/angular,Brocco/angular,graveto/angular,dtoroshin/n2oDoc,JanStureNielsen/angular,chrisse27/angular,filipesilva/angular,matsko/angular,mixed/angular,IdeaBlade/angular,wKoza/angular,ghetolay/angular,juristr/angular,aboveyou00/angular,awerlang/angular,StephenFluin/angular,youdz/angular,basvandenheuvel/angular,jteplitz602/angular,brandonroberts/angular,meeroslav/angular,tbosch/angular,royling/angular,laco0416/angular,wKoza/angular,alexcastillo/angular,Tragetaschen/angular,dydek/angular,angular/angular,Flounn/angular,ericmartinezr/angular,sjtrimble/angular,tyleranton/angular,jhonmike/angular,blesh/angular,awerlang/angular,souvikbasu/angular,juleskremer/angular,chajath/angular,not-for-me/angular,choeller/angular,gionkunz/angular,markharding/angular,panuruj/angular,zhura/angular,vikerman/angular,Brocco/angular,IgorMinar/angular,smartm0use/angular,alexpods/angular,aboveyou00/angular,mprobst/angular,kegluneq/angular,robwormald/angular,trshafer/angular,vandres/angular,cironunes/angular,matsko/angular,ericmartinezr/angular,dydek/angular,ocombe/angular,jelbourn/angular,antonmoiseev/angular,kwalrath/angular,itamark/angular,mlynch/angular,ghetolay/angular,kara/angular,jteplitz602/angular,shirish87/angular,hansl/angular,StephenFluin/angular,shuhei/angular,IgorMinar/angular,shuhei/angular,robwormald/angular,martinmcwhorter/angular,shuhei/angular,ochafik/angular,asnowwolf/angular,hterkelsen/angular,shirish87/angular,souldreamer/angular,gdi2290/angular,tamascsaba/angular,alexcastillo/angular,Toxicable/angular,vamsivarikuti/angular,naomiblack/angular,robwormald/angular,rbevers/angular,Tragetaschen/angular,AlmogShaul/angular,templth/angular,mikeybyker/angular,UIUXEngineering/angular,wesleycho/angular,itamark/angular,hpinsley/angular,e-hein/angular,gkalpak/angular,martinmcwhorter/angular,robertmesserle/angular,rbevers/angular,cexbrayat/angular,diestrin/angular,Symagic/angular,kevinmerckx/angular,sarunint/angular,epotvin/angular,trshafer/angular,ocombe/angular,tolemac/angular,zhura/angular,not-for-me/angular,JSMike/angular,alamgird/angular,graveto/angular,panuruj/angular,angular-indonesia/angular,ocombe/angular,angular/angular,nosovk/angular,Mathou54/angular,gkalpak/angular,cassand/angular,alfonso-presa/angular,alfonso-presa/angular,hansl/angular,kevinmerckx/angular,youdz/angular,ScottSWu/angular,mgol/angular,ultrasonicsoft/angular,heathkit/angular,wKoza/angular,mhevery/angular,jteplitz602/angular,tbosch/angular,petebacondarwin/angular,smartm0use/angular,hdeshev/angular,bkyarger/angular,aboveyou00/angular,vicb/angular,chuckjaz/angular,souldreamer/angular,shairez/angular,gjungb/angular,templth/angular,hterkelsen/angular,mdegoo/angular,templth/angular,LucasSloan/angular,erictsangx/angular,wesleycho/angular,mprobst/angular,chalin/angular,epotvin/angular,Symagic/angular,erictsangx/angular,laskoviymishka/angular,LucasSloan/angular,juristr/angular,heathkit/angular,choeller/angular,vsavkin/angular,pk-karthik/framework-js-angular,Mathou54/angular,zhura/angular,filipesilva/angular,mlynch/angular,NathanWalker/angular,panuruj/angular,UIUXEngineering/angular,e-schultz/angular,hannahhoward/angular,jasonaden/angular,mikeybyker/angular,cexbrayat/angular,dejour/angular,laco0416/angular,basvandenheuvel/angular,robwormald/angular,SekibOmazic/angular,cassand/angular,alexeagle/angular,panuruj/angular,chuckjaz/angular,youdz/angular,rkirov/angular,martinmcwhorter/angular,hannahhoward/angular,tamascsaba/angular,micmro/angular,smartm0use/angular,GistIcon/angular,graveto/angular,petebacondarwin/angular,manekinekko/angular,UIUXEngineering-Forks/angular,martinmcwhorter/angular,vikerman/angular,ghetolay/angular,shuhei/angular,vamsivarikuti/angular,jelbourn/angular,gionkunz/angular,huoxudong125/angular,Tragetaschen/angular,willseeyou/angular,vamsivarikuti/angular,ultrasonicsoft/angular,royling/angular,hpinsley/angular,gdi2290/angular,jesperronn/angular,rkirov/angular,willseeyou/angular,cassand/angular,laskoviymishka/angular,kevinmerckx/angular,kegluneq/angular,brandonroberts/angular,basvandenheuvel/angular,Toxicable/angular,mlynch/angular,shuhei/angular,nosovk/angular,JSMike/angular,epotvin/angular,LucasSloan/angular,ultrasonicsoft/angular,manekinekko/angular,UIUXEngineering-Forks/angular,ScottSWu/angular,hpinsley/angular,asnowwolf/angular,rbevers/angular,kegluneq/angular,aboveyou00/angular,Tragetaschen/angular,jhonmike/angular,rkirov/angular,kara/angular,cyrilgandon/angular,ValtoFrameworks/Angular-2,gnomeontherun/angular,SaltyDH/angular,Mathou54/angular,micmro/angular,mgiambalvo/angular,mzgol/angular,mdegoo/angular,Toxicable/angular,choeller/angular,sjtrimble/angular,tyleranton/angular,angularbrasil/angular,youdz/angular,juristr/angular,aboveyou00/angular,hannahhoward/angular,wesleycho/angular,rbevers/angular,dydek/angular,ochafik/angular,manekinekko/angular,cironunes/angular,jesperronn/angular,jhonmike/angular,mgiambalvo/angular,chuckjaz/angular,vandres/angular,shuhei/angular,juleskremer/angular,juleskremer/angular,chajath/angular,JiaLiPassion/angular,graveto/angular,vicb/angular,UIUXEngineering-Forks/angular,willseeyou/angular,kwalrath/angular,jelbourn/angular,Tragetaschen/angular,wKoza/angular,e-schultz/angular,meeroslav/angular,mixed/angular,dmitriz/angular,willseeyou/angular,ValtoFrameworks/Angular-2,alfonso-presa/angular,huoxudong125/angular,wesleycho/angular,rbevers/angular,jhonmike/angular,ollie314/angular,mgechev/angular,tycho01/angular,not-for-me/angular,brandonroberts/angular,epotvin/angular,alexeagle/angular,petebacondarwin/angular,antonmoiseev/angular,chajath/angular,tycho01/angular,alexcastillo/angular,mdegoo/angular,markharding/angular,JiaLiPassion/angular,jteplitz602/angular,UIUXEngineering-Forks/angular,Toxicable/angular,tolemac/angular,vamsivarikuti/angular,ericmartinezr/angular,mprobst/angular,robertmesserle/angular,JSMike/angular,hpinsley/angular,mgiambalvo/angular,mlaval/angular,zhura/angular,laco0416/angular,StephenFluin/angular,nosovk/angular,laco0416/angular,rjamet/angular,mgechev/angular,tamascsaba/angular,vikerman/angular,laco0416/angular,jhonmike/angular,basvandenheuvel/angular,tycho01/angular,SaltyDH/angular,cyrilgandon/angular,micmro/angular,markharding/angular,heathkit/angular,alxhub/angular,kylecordes/angular,ollie314/angular,vandres/angular,Mathou54/angular,NathanWalker/angular,brandonroberts/angular,mhevery/angular,Symagic/angular,jasonaden/angular,sarunint/angular,sjtrimble/angular,antonmoiseev/angular,jasonaden/angular,mhegazy/angular,naomiblack/angular,alfonso-presa/angular,laskoviymishka/angular,mgol/angular,juleskremer/angular,vandres/angular,dejour/angular,ultrasonicsoft/angular,huoxudong125/angular,dejour/angular,SekibOmazic/angular,UIUXEngineering/angular,filipesilva/angular,erictsangx/angular,manekinekko/angular,kara/angular,gnomeontherun/angular,heathkit/angular,willseeyou/angular,tamascsaba/angular,mzgol/angular