Fix duplicate getTypeOfExpression function.
Merge pull request #350 from Microsoft/pullContextualTypes2

Fix duplicate getTypeOfExpression function.