Properly handle edge cases
Properly handle edge cases

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