Removing duplicated code
Removing duplicated code

microsoft/TypeScript,Microsoft/TypeScript,kpreisser/TypeScript,Microsoft/TypeScript,microsoft/TypeScript,Microsoft/TypeScript,kpreisser/TypeScript,kpreisser/TypeScript,microsoft/TypeScript