Updated TypeScript to d0874940ed28ed27ba53c7e36aaef6baaf54e465 in order to fix Microsoft/TypeScript#492.