Simplify type flag check
Simplify type flag check

Microsoft/TypeScript,RyanCavanaugh/TypeScript,nojvek/TypeScript,weswigham/TypeScript,microsoft/TypeScript,minestarks/TypeScript,kitsonk/TypeScript,kpreisser/TypeScript,weswigham/TypeScript,kpreisser/TypeScript,SaschaNaz/TypeScript,SaschaNaz/TypeScript,kpreisser/TypeScript,kitsonk/TypeScript,minestarks/TypeScript,Microsoft/TypeScript,alexeagle/TypeScript,minestarks/TypeScript,microsoft/TypeScript,SaschaNaz/TypeScript,weswigham/TypeScript,SaschaNaz/TypeScript,alexeagle/TypeScript,RyanCavanaugh/TypeScript,microsoft/TypeScript,nojvek/TypeScript,nojvek/TypeScript,nojvek/TypeScript,Microsoft/TypeScript,alexeagle/TypeScript,RyanCavanaugh/TypeScript,kitsonk/TypeScript