David de Gea has committed his future to Manchester United by signing a new deal until June 2023, the Premier League side have confirmed.