TypeScript Ajouter des jours à ce jour

addDays(days : number): Date{
  var futureDate = new Date();
  futureDate.setDate(futureDate.getDate() + days);
  return futureDate;
}
ChernobylBob