Typing Location.Query to K,V dictionary (#9524)
Typing Location.Query to K,V dictionary (#9524)

* Typing Location.Query to K,V dictionary

Location.Query is actually typed as 'Object', which forces to cast it to 'any' anytime you need to access one of your own query string parameter.

    const clientId = (this.props.location.query as any).clientId;

It should be typed as '{ [key: string]: string; }' since it's a dictionary where you can get your arbitrary named query string parameters.

* Fixing travis build

alvarorahul/DefinitelyTyped,johan-gorter/DefinitelyTyped,rolandzwaga/DefinitelyTyped,abbasmhd/DefinitelyTyped,gcastre/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,alexdresko/DefinitelyTyped,Zzzen/DefinitelyTyped,alexdresko/DefinitelyTyped,amanmahajan7/DefinitelyTyped,chrismbarr/DefinitelyTyped,schmuli/DefinitelyTyped,Penryn/DefinitelyTyped,benliddicott/DefinitelyTyped,HPFOD/DefinitelyTyped,nycdotnet/DefinitelyTyped,jraymakers/DefinitelyTyped,aciccarello/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,hellopao/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,AgentME/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,subash-a/DefinitelyTyped,magny/DefinitelyTyped,florentpoujol/DefinitelyTyped,arma-gast/DefinitelyTyped,zuzusik/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,DzmitryDulko/DefinitelyTyped,newclear/DefinitelyTyped,magny/DefinitelyTyped,abner/DefinitelyTyped,jimthedev/DefinitelyTyped,mcrawshaw/DefinitelyTyped,yuit/DefinitelyTyped,mattblang/DefinitelyTyped,georgemarshall/DefinitelyTyped,EnableSoftware/DefinitelyTyped,martinduparc/DefinitelyTyped,use-strict/DefinitelyTyped,raijinsetsu/DefinitelyTyped,borisyankov/DefinitelyTyped,Zzzen/DefinitelyTyped,subash-a/DefinitelyTyped,amanmahajan7/DefinitelyTyped,gandjustas/DefinitelyTyped,isman-usoh/DefinitelyTyped,rcchen/DefinitelyTyped,YousefED/DefinitelyTyped,sledorze/DefinitelyTyped,scriby/DefinitelyTyped,psnider/DefinitelyTyped,damianog/DefinitelyTyped,arusakov/DefinitelyTyped,schmuli/DefinitelyTyped,danfma/DefinitelyTyped,jimthedev/DefinitelyTyped,chrismbarr/DefinitelyTyped,sledorze/DefinitelyTyped,laurentiustamate94/DefinitelyTyped,arma-gast/DefinitelyTyped,gandjustas/DefinitelyTyped,pocesar/DefinitelyTyped,ashwinr/DefinitelyTyped,amir-arad/DefinitelyTyped,psnider/DefinitelyTyped,smrq/DefinitelyTyped,QuatroCode/DefinitelyTyped,AgentME/DefinitelyTyped,aciccarello/DefinitelyTyped,abbasmhd/DefinitelyTyped,pocesar/DefinitelyTyped,markogresak/DefinitelyTyped,jraymakers/DefinitelyTyped,dsebastien/DefinitelyTyped,hellopao/DefinitelyTyped,daptiv/DefinitelyTyped,rcchen/DefinitelyTyped,johan-gorter/DefinitelyTyped,Penryn/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,damianog/DefinitelyTyped,zuzusik/DefinitelyTyped,gcastre/DefinitelyTyped,paulmorphy/DefinitelyTyped,raijinsetsu/DefinitelyTyped,florentpoujol/DefinitelyTyped,newclear/DefinitelyTyped,minodisk/DefinitelyTyped,pocesar/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,EnableSoftware/DefinitelyTyped,progre/DefinitelyTyped,benishouga/DefinitelyTyped,nainslie/DefinitelyTyped,minodisk/DefinitelyTyped,aciccarello/DefinitelyTyped,progre/DefinitelyTyped,yuit/DefinitelyTyped,AgentME/DefinitelyTyped,martinduparc/DefinitelyTyped,benishouga/DefinitelyTyped,isman-usoh/DefinitelyTyped,syuilo/DefinitelyTyped,chrootsu/DefinitelyTyped,mattblang/DefinitelyTyped,martinduparc/DefinitelyTyped,xStrom/DefinitelyTyped,smrq/DefinitelyTyped,musicist288/DefinitelyTyped,QuatroCode/DefinitelyTyped,AgentME/DefinitelyTyped,georgemarshall/DefinitelyTyped,donnut/DefinitelyTyped,paulmorphy/DefinitelyTyped,schmuli/DefinitelyTyped,frogcjn/DefinitelyTyped,shlomiassaf/DefinitelyTyped,scriby/DefinitelyTyped,georgemarshall/DefinitelyTyped,nycdotnet/DefinitelyTyped,alvarorahul/DefinitelyTyped,danfma/DefinitelyTyped,mcliment/DefinitelyTyped,mcrawshaw/DefinitelyTyped,donnut/DefinitelyTyped,arusakov/DefinitelyTyped,Ptival/DefinitelyTyped,use-strict/DefinitelyTyped,hellopao/DefinitelyTyped,ashwinr/DefinitelyTyped,DzmitryDulko/DefinitelyTyped,xStrom/DefinitelyTyped,abner/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,borisyankov/DefinitelyTyped,axelcostaspena/DefinitelyTyped,chrootsu/DefinitelyTyped,benishouga/DefinitelyTyped,HPFOD/DefinitelyTyped,georgemarshall/DefinitelyTyped,syuilo/DefinitelyTyped,one-pieces/DefinitelyTyped,dsebastien/DefinitelyTyped,arusakov/DefinitelyTyped,micurs/DefinitelyTyped,frogcjn/DefinitelyTyped,Ptival/DefinitelyTyped,jimthedev/DefinitelyTyped,rolandzwaga/DefinitelyTyped,psnider/DefinitelyTyped,zuzusik/DefinitelyTyped,YousefED/DefinitelyTyped,nainslie/DefinitelyTyped,shlomiassaf/DefinitelyTyped