fix react/legacy/react-0.12-tests.ts compile error
fix react/legacy/react-0.12-tests.ts compile error

RX14/DefinitelyTyped,drinchev/DefinitelyTyped,gyohk/DefinitelyTyped,onecentlin/DefinitelyTyped,muenchdo/DefinitelyTyped,alainsahli/DefinitelyTyped,danfma/DefinitelyTyped,Pro/DefinitelyTyped,Litee/DefinitelyTyped,dumbmatter/DefinitelyTyped,raijinsetsu/DefinitelyTyped,DeadAlready/DefinitelyTyped,algorithme/DefinitelyTyped,dflor003/DefinitelyTyped,ciriarte/DefinitelyTyped,scriby/DefinitelyTyped,olivierlemasle/DefinitelyTyped,rockclimber90/DefinitelyTyped,mhegazy/DefinitelyTyped,bencoveney/DefinitelyTyped,mvarblow/DefinitelyTyped,GlennQuirynen/DefinitelyTyped,aldo-roman/DefinitelyTyped,xica/DefinitelyTyped,hiraash/DefinitelyTyped,UzEE/DefinitelyTyped,borisyankov/DefinitelyTyped,behzad888/DefinitelyTyped,Zorgatone/DefinitelyTyped,hatz48/DefinitelyTyped,stylelab-io/DefinitelyTyped,Chris380/DefinitelyTyped,philippstucki/DefinitelyTyped,gandjustas/DefinitelyTyped,cvrajeesh/DefinitelyTyped,chbrown/DefinitelyTyped,chrootsu/DefinitelyTyped,AyaMorisawa/DefinitelyTyped,isman-usoh/DefinitelyTyped,axelcostaspena/DefinitelyTyped,mcliment/DefinitelyTyped,JaminFarr/DefinitelyTyped,EnableSoftware/DefinitelyTyped,dsebastien/DefinitelyTyped,mwain/DefinitelyTyped,onecentlin/DefinitelyTyped,Trapulo/DefinitelyTyped,rerezz/DefinitelyTyped,spearhead-ea/DefinitelyTyped,rschmukler/DefinitelyTyped,mjjames/DefinitelyTyped,manekovskiy/DefinitelyTyped,jraymakers/DefinitelyTyped,NCARalph/DefinitelyTyped,gandjustas/DefinitelyTyped,bridge-ufsc/DefinitelyTyped,amir-arad/DefinitelyTyped,Karabur/DefinitelyTyped,MugeSo/DefinitelyTyped,hellopao/DefinitelyTyped,nmalaguti/DefinitelyTyped,yuit/DefinitelyTyped,brainded/DefinitelyTyped,georgemarshall/DefinitelyTyped,bdoss/DefinitelyTyped,nakakura/DefinitelyTyped,OfficeDev/DefinitelyTyped,florentpoujol/DefinitelyTyped,arcticwaters/DefinitelyTyped,arcticwaters/DefinitelyTyped,MugeSo/DefinitelyTyped,scriby/DefinitelyTyped,bruennijs/DefinitelyTyped,donnut/DefinitelyTyped,subash-a/DefinitelyTyped,shlomiassaf/DefinitelyTyped,CodeZombieCH/DefinitelyTyped,ducin/DefinitelyTyped,Ptival/DefinitelyTyped,mweststrate/DefinitelyTyped,QuatroCode/DefinitelyTyped,DzmitryDulko/DefinitelyTyped,nodeframe/DefinitelyTyped,zalamtech/DefinitelyTyped,ashwinr/DefinitelyTyped,ErykB2000/DefinitelyTyped,psnider/DefinitelyTyped,aciccarello/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,newclear/DefinitelyTyped,erosb/DefinitelyTyped,stacktracejs/DefinitelyTyped,GlennQuirynen/DefinitelyTyped,fnipo/DefinitelyTyped,RX14/DefinitelyTyped,alexdresko/DefinitelyTyped,psnider/DefinitelyTyped,Dominator008/DefinitelyTyped,jiaz/DefinitelyTyped,benishouga/DefinitelyTyped,nycdotnet/DefinitelyTyped,teddyward/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,ayanoin/DefinitelyTyped,AgentME/DefinitelyTyped,nainslie/DefinitelyTyped,vasek17/DefinitelyTyped,michalczukm/DefinitelyTyped,richardTowers/DefinitelyTyped,pocke/DefinitelyTyped,dydek/DefinitelyTyped,Zzzen/DefinitelyTyped,goaty92/DefinitelyTyped,micurs/DefinitelyTyped,Minishlink/DefinitelyTyped,applesaucers/lodash-invokeMap,Kuniwak/DefinitelyTyped,Penryn/DefinitelyTyped,lbesson/DefinitelyTyped,alvarorahul/DefinitelyTyped,hellopao/DefinitelyTyped,GregOnNet/DefinitelyTyped,mszczepaniak/DefinitelyTyped,pwelter34/DefinitelyTyped,benliddicott/DefinitelyTyped,egeland/DefinitelyTyped,davidpricedev/DefinitelyTyped,bdoss/DefinitelyTyped,basp/DefinitelyTyped,reppners/DefinitelyTyped,drinchev/DefinitelyTyped,zuzusik/DefinitelyTyped,furny/DefinitelyTyped,digitalpixies/DefinitelyTyped,jesseschalken/DefinitelyTyped,ml-workshare/DefinitelyTyped,mareek/DefinitelyTyped,emanuelhp/DefinitelyTyped,damianog/DefinitelyTyped,dpsthree/DefinitelyTyped,TrabacchinLuigi/DefinitelyTyped,ryan-codingintrigue/DefinitelyTyped,hellopao/DefinitelyTyped,amanmahajan7/DefinitelyTyped,jsaelhof/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,brettle/DefinitelyTyped,whoeverest/DefinitelyTyped,trystanclarke/DefinitelyTyped,pocesar/DefinitelyTyped,nycdotnet/DefinitelyTyped,nojaf/DefinitelyTyped,reppners/DefinitelyTyped,Nemo157/DefinitelyTyped,magny/DefinitelyTyped,TildaLabs/DefinitelyTyped,eugenpodaru/DefinitelyTyped,dragouf/DefinitelyTyped,rolandzwaga/DefinitelyTyped,newclear/DefinitelyTyped,timramone/DefinitelyTyped,sixinli/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,vsavkin/DefinitelyTyped,Garciat/DefinitelyTyped,arusakov/DefinitelyTyped,drillbits/DefinitelyTyped,ashwinr/DefinitelyTyped,TrabacchinLuigi/DefinitelyTyped,billccn/DefinitelyTyped,lightswitch05/DefinitelyTyped,martinduparc/DefinitelyTyped,paulmorphy/DefinitelyTyped,BrandonCKrueger/DefinitelyTyped,sledorze/DefinitelyTyped,philippstucki/DefinitelyTyped,hatz48/DefinitelyTyped,dmoonfire/DefinitelyTyped,iCoreSolutions/DefinitelyTyped,abmohan/DefinitelyTyped,nakakura/DefinitelyTyped,mcrawshaw/DefinitelyTyped,DeluxZ/DefinitelyTyped,adamcarr/DefinitelyTyped,IAPark/DefinitelyTyped,takenet/DefinitelyTyped,Penryn/DefinitelyTyped,Litee/DefinitelyTyped,elisee/DefinitelyTyped,nelsonmorais/DefinitelyTyped,aindlq/DefinitelyTyped,schmuli/DefinitelyTyped,frogcjn/DefinitelyTyped,omidkrad/DefinitelyTyped,esperco/DefinitelyTyped,forumone/DefinitelyTyped,gildorwang/DefinitelyTyped,alextkachman/DefinitelyTyped,sledorze/DefinitelyTyped,DenEwout/DefinitelyTyped,angelobelchior8/DefinitelyTyped,CodeZombieCH/DefinitelyTyped,aciccarello/DefinitelyTyped,esperco/DefinitelyTyped,alexdresko/DefinitelyTyped,Shiak1/DefinitelyTyped,bpowers/DefinitelyTyped,martinduparc/DefinitelyTyped,rcchen/DefinitelyTyped,egeland/DefinitelyTyped,fishgoh0nk/DefinitelyTyped,wilfrem/DefinitelyTyped,tboyce/DefinitelyTyped,abbasmhd/DefinitelyTyped,alextkachman/DefinitelyTyped,glenndierckx/DefinitelyTyped,nfriend/DefinitelyTyped,lseguin42/DefinitelyTyped,icereed/DefinitelyTyped,TheBay0r/DefinitelyTyped,teves-castro/DefinitelyTyped,sergey-buturlakin/DefinitelyTyped,slavomirvojacek/DefinitelyTyped,uestcNaldo/DefinitelyTyped,Dashlane/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,wbuchwalter/DefinitelyTyped,nabeix/DefinitelyTyped,florentpoujol/DefinitelyTyped,QuatroCode/DefinitelyTyped,Softpagehomeware/DefinitelyTyped,Saneyan/DefinitelyTyped,giggio/DefinitelyTyped,Ptival/DefinitelyTyped,amanmahajan7/DefinitelyTyped,minodisk/DefinitelyTyped,PopSugar/DefinitelyTyped,takfjt/DefinitelyTyped,arma-gast/DefinitelyTyped,paulmorphy/DefinitelyTyped,almstrand/DefinitelyTyped,evandrewry/DefinitelyTyped,YousefED/DefinitelyTyped,stanislavHamara/DefinitelyTyped,Riron/DefinitelyTyped,pocesar/DefinitelyTyped,SebastianCoetzee/DefinitelyTyped,syuilo/DefinitelyTyped,georgemarshall/DefinitelyTyped,jraymakers/DefinitelyTyped,LordJZ/DefinitelyTyped,ajtowf/DefinitelyTyped,Softpagehomeware/DefinitelyTyped,frogcjn/DefinitelyTyped,progre/DefinitelyTyped,alvarorahul/DefinitelyTyped,gorcz/DefinitelyTyped,robert-voica/DefinitelyTyped,abner/DefinitelyTyped,innerverse/DefinitelyTyped,sclausen/DefinitelyTyped,schmuli/DefinitelyTyped,herrmanno/DefinitelyTyped,tan9/DefinitelyTyped,Almouro/DefinitelyTyped,kuon/DefinitelyTyped,mshmelev/DefinitelyTyped,emanuelhp/DefinitelyTyped,wkrueger/DefinitelyTyped,zhiyiting/DefinitelyTyped,benishouga/DefinitelyTyped,mattblang/DefinitelyTyped,greglo/DefinitelyTyped,eekboom/DefinitelyTyped,xStrom/DefinitelyTyped,theyelllowdart/DefinitelyTyped,markogresak/DefinitelyTyped,schmuli/DefinitelyTyped,nitintutlani/DefinitelyTyped,danfma/DefinitelyTyped,optical/DefinitelyTyped,hx0day/DefinitelyTyped,zensh/DefinitelyTyped,johan-gorter/DefinitelyTyped,rcchen/DefinitelyTyped,jasonswearingen/DefinitelyTyped,mrk21/DefinitelyTyped,yuit/DefinitelyTyped,wcomartin/DefinitelyTyped,subjectix/DefinitelyTyped,teves-castro/DefinitelyTyped,jsaelhof/DefinitelyTyped,moonpyk/DefinitelyTyped,behzad888/DefinitelyTyped,WritingPanda/DefinitelyTyped,HereSinceres/DefinitelyTyped,aroder/DefinitelyTyped,YousefED/DefinitelyTyped,nobuoka/DefinitelyTyped,Lorisu/DefinitelyTyped,bennett000/DefinitelyTyped,chrismbarr/DefinitelyTyped,rschmukler/DefinitelyTyped,jccarvalhosa/DefinitelyTyped,mjjames/DefinitelyTyped,davidpricedev/DefinitelyTyped,Dashlane/DefinitelyTyped,EnableSoftware/DefinitelyTyped,mshmelev/DefinitelyTyped,jaysoo/DefinitelyTyped,sergey-buturlakin/DefinitelyTyped,gregoryagu/DefinitelyTyped,Syati/DefinitelyTyped,glenndierckx/DefinitelyTyped,acepoblete/DefinitelyTyped,bardt/DefinitelyTyped,borisyankov/DefinitelyTyped,martinduparc/DefinitelyTyped,Pro/DefinitelyTyped,shlomiassaf/DefinitelyTyped,nainslie/DefinitelyTyped,jimthedev/DefinitelyTyped,arusakov/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,deeleman/DefinitelyTyped,laurentiustamate94/DefinitelyTyped,OpenMaths/DefinitelyTyped,aciccarello/DefinitelyTyped,xswordsx/DefinitelyTyped,dariajung/DefinitelyTyped,flyfishMT/DefinitelyTyped,igorsechyn/DefinitelyTyped,HPFOD/DefinitelyTyped,duongphuhiep/DefinitelyTyped,corps/DefinitelyTyped,jbrantly/DefinitelyTyped,UzEE/DefinitelyTyped,syuilo/DefinitelyTyped,abbasmhd/DefinitelyTyped,smrq/DefinitelyTyped,nobuoka/DefinitelyTyped,chrootsu/DefinitelyTyped,mareek/DefinitelyTyped,scatcher/DefinitelyTyped,hor-crux/DefinitelyTyped,NelsonLamprecht/DefinitelyTyped,TanakaYutaro/DefinitelyTyped,stephenjelfs/DefinitelyTyped,abner/DefinitelyTyped,pkhayundi/DefinitelyTyped,smrq/DefinitelyTyped,robl499/DefinitelyTyped,johan-gorter/DefinitelyTyped,subash-a/DefinitelyTyped,zuzusik/DefinitelyTyped,musakarakas/DefinitelyTyped,chrilith/DefinitelyTyped,one-pieces/DefinitelyTyped,slavomirvojacek/adbrain-typescript-definitions,trystanclarke/DefinitelyTyped,use-strict/DefinitelyTyped,zuzusik/DefinitelyTyped,Syati/DefinitelyTyped,paxibay/DefinitelyTyped,stephenjelfs/DefinitelyTyped,kanreisa/DefinitelyTyped,mcrawshaw/DefinitelyTyped,GodsBreath/DefinitelyTyped,laco0416/DefinitelyTyped,MarlonFan/DefinitelyTyped,psnider/DefinitelyTyped,fredgalvao/DefinitelyTyped,Zzzen/DefinitelyTyped,ryan10132/DefinitelyTyped,bridge-ufsc/DefinitelyTyped,progre/DefinitelyTyped,sandersky/DefinitelyTyped,donnut/DefinitelyTyped,musicist288/DefinitelyTyped,scsouthw/DefinitelyTyped,biomassives/DefinitelyTyped,superduper/DefinitelyTyped,benishouga/DefinitelyTyped,mendix/DefinitelyTyped,Karabur/DefinitelyTyped,M-Zuber/DefinitelyTyped,greglockwood/DefinitelyTyped,dsebastien/DefinitelyTyped,Ridermansb/DefinitelyTyped,gcastre/DefinitelyTyped,lbguilherme/DefinitelyTyped,tdmckinn/DefinitelyTyped,rolandzwaga/DefinitelyTyped,arusakov/DefinitelyTyped,olemp/DefinitelyTyped,OpenMaths/DefinitelyTyped,raijinsetsu/DefinitelyTyped,nmalaguti/DefinitelyTyped,chocolatechipui/DefinitelyTyped,opichals/DefinitelyTyped,DzmitryDulko/DefinitelyTyped,PascalSenn/DefinitelyTyped,shovon/DefinitelyTyped,applesaucers/lodash-invokeMap,tscho/DefinitelyTyped,bennett000/DefinitelyTyped,Fraegle/DefinitelyTyped,AyaMorisawa/DefinitelyTyped,xStrom/DefinitelyTyped,shahata/DefinitelyTyped,elisee/DefinitelyTyped,leoromanovsky/DefinitelyTyped,takenet/DefinitelyTyped,davidsidlinger/DefinitelyTyped,fearthecowboy/DefinitelyTyped,samwgoldman/DefinitelyTyped,ajtowf/DefinitelyTyped,pocesar/DefinitelyTyped,igorraush/DefinitelyTyped,HPFOD/DefinitelyTyped,ahmedalsudani/DefinitelyTyped,stacktracejs/DefinitelyTyped,georgemarshall/DefinitelyTyped,munxar/DefinitelyTyped,Pipe-shen/DefinitelyTyped,flyfishMT/DefinitelyTyped,maxlang/DefinitelyTyped,laball/DefinitelyTyped,jasonswearingen/DefinitelyTyped,syntax42/DefinitelyTyped,gyohk/DefinitelyTyped,fredgalvao/DefinitelyTyped,magny/DefinitelyTyped,rushi216/DefinitelyTyped,Zenorbi/DefinitelyTyped,vagarenko/DefinitelyTyped,pwelter34/DefinitelyTyped,georgemarshall/DefinitelyTyped,hafenr/DefinitelyTyped,vincentw56/DefinitelyTyped,nseckinoral/DefinitelyTyped,optical/DefinitelyTyped,Bobjoy/DefinitelyTyped,isman-usoh/DefinitelyTyped,zuohaocheng/DefinitelyTyped,mattanja/DefinitelyTyped,dydek/DefinitelyTyped,wilfrem/DefinitelyTyped,minodisk/DefinitelyTyped,sclausen/DefinitelyTyped,Gmulti/DefinitelyTyped,daptiv/DefinitelyTyped,masonkmeyer/DefinitelyTyped,Zorgatone/DefinitelyTyped,damianog/DefinitelyTyped,bilou84/DefinitelyTyped,kalloc/DefinitelyTyped,maglar0/DefinitelyTyped,chrismbarr/DefinitelyTyped,Dominator008/DefinitelyTyped,RedSeal-co/DefinitelyTyped,KonaTeam/DefinitelyTyped,gcastre/DefinitelyTyped,Bunkerbewohner/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,ecramer89/DefinitelyTyped,felipe3dfx/DefinitelyTyped,chadoliver/DefinitelyTyped,use-strict/DefinitelyTyped,tan9/DefinitelyTyped,aqua89/DefinitelyTyped,adammartin1981/DefinitelyTyped,dwango-js/DefinitelyTyped,jimthedev/DefinitelyTyped,mhegazy/DefinitelyTyped,tomtarrot/DefinitelyTyped,bluong/DefinitelyTyped,nitintutlani/DefinitelyTyped,lekaha/DefinitelyTyped,olemp/DefinitelyTyped,vagarenko/DefinitelyTyped,AgentME/DefinitelyTyped,Jwsonic/DefinitelyTyped,mattblang/DefinitelyTyped,bjfletcher/DefinitelyTyped,timjk/DefinitelyTyped,dmoonfire/DefinitelyTyped,jimthedev/DefinitelyTyped,greglo/DefinitelyTyped,AgentME/DefinitelyTyped,jeremyhayes/DefinitelyTyped,tjoskar/DefinitelyTyped,Deathspike/DefinitelyTyped,Mek7/DefinitelyTyped,mattanja/DefinitelyTyped,AgentME/DefinitelyTyped,arma-gast/DefinitelyTyped