TypeScript upgrade for Win8.0 branch

Cherry picked the change from master branch