type script add one day to Date() code example
Example: typescript add days to date
addDays(days : number): Date{
var futureDate = new Date();
futureDate.setDate(futureDate.getDate() + days);
return futureDate;
}
addDays(days : number): Date{
var futureDate = new Date();
futureDate.setDate(futureDate.getDate() + days);
return futureDate;
}