Move helper function outside class
Move helper function outside class

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