Reuse code from getTypeReferenceType
Reuse code from getTypeReferenceType

basarat/TypeScript,SaschaNaz/TypeScript,nojvek/TypeScript,donaldpipowitch/TypeScript,RyanCavanaugh/TypeScript,donaldpipowitch/TypeScript,kpreisser/TypeScript,SaschaNaz/TypeScript,alexeagle/TypeScript,minestarks/TypeScript,alexeagle/TypeScript,Eyas/TypeScript,synaptek/TypeScript,minestarks/TypeScript,mihailik/TypeScript,synaptek/TypeScript,alexeagle/TypeScript,weswigham/TypeScript,TukekeSoft/TypeScript,mihailik/TypeScript,SaschaNaz/TypeScript,basarat/TypeScript,basarat/TypeScript,SaschaNaz/TypeScript,Eyas/TypeScript,Microsoft/TypeScript,microsoft/TypeScript,chuckjaz/TypeScript,TukekeSoft/TypeScript,microsoft/TypeScript,Microsoft/TypeScript,chuckjaz/TypeScript,synaptek/TypeScript,kitsonk/TypeScript,Eyas/TypeScript,kpreisser/TypeScript,kitsonk/TypeScript,RyanCavanaugh/TypeScript,donaldpipowitch/TypeScript,nojvek/TypeScript,synaptek/TypeScript,RyanCavanaugh/TypeScript,mihailik/TypeScript,weswigham/TypeScript,basarat/TypeScript,kitsonk/TypeScript,nojvek/TypeScript,kpreisser/TypeScript,chuckjaz/TypeScript,nojvek/TypeScript,Eyas/TypeScript,minestarks/TypeScript,weswigham/TypeScript,chuckjaz/TypeScript,donaldpipowitch/TypeScript,TukekeSoft/TypeScript,mihailik/TypeScript,microsoft/TypeScript,Microsoft/TypeScript