Skip to content

Commit

Permalink
chore: update JSdoc based on review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
thisislawatts committed Aug 17, 2022
1 parent 2795aa9 commit 6490751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/toDate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6490751

Please sign in to comment.