Take changes from microsoft typescript