diff --git a/src/internal/toDate.ts b/src/internal/toDate.ts index ea91cc8fd0d..def1b6b2740 100644 --- a/src/internal/toDate.ts +++ b/src/internal/toDate.ts @@ -2,7 +2,7 @@ * Converts date passed as a string, number or Date to a Date object. * If nothing or a non parseable value is passed, takes current date. * - * @param date Date + * @param date The input to convert to a date. */ export function toDate(date?: string | Date | number): Date { date = new Date(date);