Skip to content

Commit 6490751

Browse files
committed
chore: update JSdoc based on review feedback
1 parent 2795aa9 commit 6490751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/toDate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Converts date passed as a string, number or Date to a Date object.
33
* If nothing or a non parseable value is passed, takes current date.
44
*
5-
* @param date Date
5+
* @param date The input to convert to a date.
66
*/
77
export function toDate(date?: string | Date | number): Date {
88
date = new Date(date);

0 commit comments

Comments
 (0)