Clean up some repeated calls to getBaseTypes
Clean up some repeated calls to getBaseTypes

nycdotnet/TypeScript,hoanhtien/TypeScript,impinball/TypeScript,zmaruo/TypeScript,shanexu/TypeScript,MartyIX/TypeScript,yazeng/TypeScript,Raynos/TypeScript,germ13/TypeScript,samuelhorwitz/typescript,alexeagle/TypeScript,progre/TypeScript,rgbkrk/TypeScript,Mqgh2013/TypeScript,HereSinceres/TypeScript,synaptek/TypeScript,chuckjaz/TypeScript,webhost/TypeScript,fearthecowboy/TypeScript,yazeng/TypeScript,nagyistoce/TypeScript,ropik/TypeScript,samuelhorwitz/typescript,Raynos/TypeScript,kumikumi/TypeScript,DanielRosenwasser/TypeScript,gdi2290/TypeScript,weswigham/TypeScript,webhost/TypeScript,kingland/TypeScript,mcanthony/TypeScript,hitesh97/TypeScript,tempbottle/TypeScript,gonifade/TypeScript,mcanthony/TypeScript,MartyIX/TypeScript,abbasmhd/TypeScript,jwbay/TypeScript,kitsonk/TypeScript,Eyas/TypeScript,bpowers/TypeScript,ionux/TypeScript,minestarks/TypeScript,matthewjh/TypeScript,SimoneGianni/TypeScript,microsoft/TypeScript,nycdotnet/TypeScript,AbubakerB/TypeScript,ionux/TypeScript,DLehenbauer/TypeScript,shanexu/TypeScript,yortus/TypeScript,donaldpipowitch/TypeScript,minestarks/TypeScript,tempbottle/TypeScript,abbasmhd/TypeScript,kpreisser/TypeScript,tinganho/TypeScript,chuckjaz/TypeScript,pcan/TypeScript,hitesh97/TypeScript,chuckjaz/TypeScript,DanielRosenwasser/TypeScript,msynk/TypeScript,yortus/TypeScript,abbasmhd/TypeScript,evgrud/TypeScript,keir-rex/TypeScript,JohnZ622/TypeScript,kimamula/TypeScript,nojvek/TypeScript,Microsoft/TypeScript,Eyas/TypeScript,moander/TypeScript,donaldpipowitch/TypeScript,erikmcc/TypeScript,AbubakerB/TypeScript,kingland/TypeScript,keir-rex/TypeScript,RyanCavanaugh/TypeScript,sassson/TypeScript,kitsonk/TypeScript,kitsonk/TypeScript,kpreisser/TypeScript,weswigham/TypeScript,keir-rex/TypeScript,enginekit/TypeScript,moander/TypeScript,chocolatechipui/TypeScript,RReverser/TypeScript,germ13/TypeScript,mmoskal/TypeScript,basarat/TypeScript,tinganho/TypeScript,basarat/TypeScript,impinball/TypeScript,ionux/TypeScript,suto/TypeScript,jteplitz602/TypeScript,ZLJASON/TypeScript,shovon/TypeScript,thr0w/Thr0wScript,synaptek/TypeScript,nagyistoce/TypeScript,fabioparra/TypeScript,SmallAiTT/TypeScript,jeremyepling/TypeScript,nojvek/TypeScript,mihailik/TypeScript,microsoft/TypeScript,mihailik/TypeScript,progre/TypeScript,hoanhtien/TypeScript,TukekeSoft/TypeScript,fabioparra/TypeScript,microsoft/TypeScript,RReverser/TypeScript,chocolatechipui/TypeScript,kumikumi/TypeScript,germ13/TypeScript,jwbay/TypeScript,Microsoft/TypeScript,vilic/TypeScript,Mqgh2013/TypeScript,jamesrmccallum/TypeScript,rodrigues-daniel/TypeScript,nojvek/TypeScript,donaldpipowitch/TypeScript,rgbkrk/TypeScript,basarat/TypeScript,nycdotnet/TypeScript,chocolatechipui/TypeScript,weswigham/TypeScript,hitesh97/TypeScript,blakeembrey/TypeScript,DanielRosenwasser/TypeScript,ziacik/TypeScript,shiftkey/TypeScript,bpowers/TypeScript,Eyas/TypeScript,ziacik/TypeScript,plantain-00/TypeScript,Raynos/TypeScript,msynk/TypeScript,fabioparra/TypeScript,rodrigues-daniel/TypeScript,kingland/TypeScript,jamesrmccallum/TypeScript,mmoskal/TypeScript,sassson/TypeScript,TukekeSoft/TypeScript,shovon/TypeScript,OlegDokuka/TypeScript,HereSinceres/TypeScript,DLehenbauer/TypeScript,synaptek/TypeScript,evgrud/TypeScript,chuckjaz/TypeScript,zhengbli/TypeScript,billti/TypeScript,kpreisser/TypeScript,matthewjh/TypeScript,plantain-00/TypeScript,SimoneGianni/TypeScript,rgbkrk/TypeScript,webhost/TypeScript,zhengbli/TypeScript,jwbay/TypeScript,kumikumi/TypeScript,zmaruo/TypeScript,OlegDokuka/TypeScript,mcanthony/TypeScript,mmoskal/TypeScript,thr0w/Thr0wScript,mszczepaniak/TypeScript,Microsoft/TypeScript,ropik/TypeScript,msynk/TypeScript,erikmcc/TypeScript,hoanhtien/TypeScript,nycdotnet/TypeScript,DLehenbauer/TypeScript,shanexu/TypeScript,Viromo/TypeScript,shovon/TypeScript,JohnZ622/TypeScript,minestarks/TypeScript,pcan/TypeScript,JohnZ622/TypeScript,jeremyepling/TypeScript,TukekeSoft/TypeScript,thr0w/Thr0wScript,jbondc/TypeScript,RyanCavanaugh/TypeScript,ropik/TypeScript,SaschaNaz/TypeScript,erikmcc/TypeScript,SaschaNaz/TypeScript,donaldpipowitch/TypeScript,fearthecowboy/TypeScript,sassson/TypeScript,evgrud/TypeScript,jdavidberger/TypeScript,tempbottle/TypeScript,jteplitz602/TypeScript,basarat/TypeScript,mcanthony/TypeScript,jbondc/TypeScript,DanielRosenwasser/TypeScript,shanexu/TypeScript,synaptek/TypeScript,jdavidberger/TypeScript,jeremyepling/TypeScript,plantain-00/TypeScript,blakeembrey/TypeScript,HereSinceres/TypeScript,shiftkey/TypeScript,nagyistoce/TypeScript,jwbay/TypeScript,mszczepaniak/TypeScript,mihailik/TypeScript,RReverser/TypeScript,DLehenbauer/TypeScript,mihailik/TypeScript,billti/TypeScript,kimamula/TypeScript,mmoskal/TypeScript,samuelhorwitz/typescript,yortus/TypeScript,AbubakerB/TypeScript,SmallAiTT/TypeScript,gonifade/TypeScript,bpowers/TypeScript,MartyIX/TypeScript,pcan/TypeScript,rodrigues-daniel/TypeScript,Viromo/TypeScript,enginekit/TypeScript,impinball/TypeScript,SaschaNaz/TypeScript,SimoneGianni/TypeScript,thr0w/Thr0wScript,gonifade/TypeScript,SmallAiTT/TypeScript,billti/TypeScript,Viromo/TypeScript,jbondc/TypeScript,RyanCavanaugh/TypeScript,fearthecowboy/TypeScript,ziacik/TypeScript,ropik/TypeScript,matthewjh/TypeScript,rodrigues-daniel/TypeScript,OlegDokuka/TypeScript,shiftkey/TypeScript,kimamula/TypeScript,JohnZ622/TypeScript,yazeng/TypeScript,nojvek/TypeScript,Raynos/TypeScript,blakeembrey/TypeScript,Mqgh2013/TypeScript,progre/TypeScript,evgrud/TypeScript,fabioparra/TypeScript,samuelhorwitz/typescript,zhengbli/TypeScript,alexeagle/TypeScript,ionux/TypeScript,Viromo/TypeScript,moander/TypeScript,vilic/TypeScript,Eyas/TypeScript,enginekit/TypeScript,erikmcc/TypeScript,mszczepaniak/TypeScript,SaschaNaz/TypeScript,jdavidberger/TypeScript,zmaruo/TypeScript,vilic/TypeScript,vilic/TypeScript,blakeembrey/TypeScript,moander/TypeScript,MartyIX/TypeScript,plantain-00/TypeScript,yortus/TypeScript,kimamula/TypeScript,ZLJASON/TypeScript,jteplitz602/TypeScript,suto/TypeScript,AbubakerB/TypeScript,alexeagle/TypeScript,jamesrmccallum/TypeScript,suto/TypeScript,ZLJASON/TypeScript,tinganho/TypeScript,ziacik/TypeScript