Setting compiler back to official typescript's
tslint fixes
compiler fixes
Merge pull request #1366 from palantir/upgradeFixes

Upgrade fixes