Switched switch statement to if branches. Fixes #5229.
Switched switch statement to if branches.
Fixes #5229.

yortus/TypeScript,nojvek/TypeScript,synaptek/TypeScript,plantain-00/TypeScript,nojvek/TypeScript,chuckjaz/TypeScript,kimamula/TypeScript,kimamula/TypeScript,vilic/TypeScript,alexeagle/TypeScript,SaschaNaz/TypeScript,jeremyepling/TypeScript,kimamula/TypeScript,Microsoft/TypeScript,Eyas/TypeScript,thr0w/Thr0wScript,fabioparra/TypeScript,jwbay/TypeScript,SaschaNaz/TypeScript,mihailik/TypeScript,donaldpipowitch/TypeScript,AbubakerB/TypeScript,RyanCavanaugh/TypeScript,weswigham/TypeScript,weswigham/TypeScript,Eyas/TypeScript,synaptek/TypeScript,blakeembrey/TypeScript,nycdotnet/TypeScript,vilic/TypeScript,SaschaNaz/TypeScript,mihailik/TypeScript,kimamula/TypeScript,evgrud/TypeScript,plantain-00/TypeScript,mihailik/TypeScript,DLehenbauer/TypeScript,thr0w/Thr0wScript,RyanCavanaugh/TypeScript,Eyas/TypeScript,Microsoft/TypeScript,Eyas/TypeScript,TukekeSoft/TypeScript,erikmcc/TypeScript,AbubakerB/TypeScript,evgrud/TypeScript,ziacik/TypeScript,mmoskal/TypeScript,yortus/TypeScript,thr0w/Thr0wScript,erikmcc/TypeScript,donaldpipowitch/TypeScript,ionux/TypeScript,yortus/TypeScript,nycdotnet/TypeScript,weswigham/TypeScript,kitsonk/TypeScript,jwbay/TypeScript,jwbay/TypeScript,basarat/TypeScript,samuelhorwitz/typescript,donaldpipowitch/TypeScript,mihailik/TypeScript,ziacik/TypeScript,AbubakerB/TypeScript,erikmcc/TypeScript,microsoft/TypeScript,nojvek/TypeScript,ziacik/TypeScript,mmoskal/TypeScript,DLehenbauer/TypeScript,TukekeSoft/TypeScript,synaptek/TypeScript,fabioparra/TypeScript,jeremyepling/TypeScript,jwbay/TypeScript,ziacik/TypeScript,donaldpipowitch/TypeScript,vilic/TypeScript,fabioparra/TypeScript,blakeembrey/TypeScript,kitsonk/TypeScript,samuelhorwitz/typescript,thr0w/Thr0wScript,alexeagle/TypeScript,microsoft/TypeScript,DLehenbauer/TypeScript,erikmcc/TypeScript,Microsoft/TypeScript,ionux/TypeScript,alexeagle/TypeScript,evgrud/TypeScript,kpreisser/TypeScript,TukekeSoft/TypeScript,kpreisser/TypeScript,SaschaNaz/TypeScript,DLehenbauer/TypeScript,nycdotnet/TypeScript,ionux/TypeScript,plantain-00/TypeScript,blakeembrey/TypeScript,chuckjaz/TypeScript,chuckjaz/TypeScript,RyanCavanaugh/TypeScript,samuelhorwitz/typescript,minestarks/TypeScript,basarat/TypeScript,mmoskal/TypeScript,nojvek/TypeScript,vilic/TypeScript,basarat/TypeScript,ionux/TypeScript,fabioparra/TypeScript,synaptek/TypeScript,microsoft/TypeScript,samuelhorwitz/typescript,minestarks/TypeScript,plantain-00/TypeScript,blakeembrey/TypeScript,chuckjaz/TypeScript,evgrud/TypeScript,kpreisser/TypeScript,kitsonk/TypeScript,jeremyepling/TypeScript,minestarks/TypeScript,yortus/TypeScript,mmoskal/TypeScript,AbubakerB/TypeScript,basarat/TypeScript,nycdotnet/TypeScript