Skip to content

Commit

Permalink
docs: add jsdoc params
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuczynski committed Mar 23, 2022
1 parent 7d1c09d commit 7632415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/date.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { DateEntryDefinition } from './definitions';
/**
* Converts date passed as a string or Date to a Date object. If nothing passed, takes current date.
*
* @param date
* @param date Date
*/
function toDate(date?: string | Date): Date {
if (date != null) {
Expand All @@ -17,7 +17,7 @@ function toDate(date?: string | Date): Date {
/**
* Converts date passed as a string or Date to milliseconds. If nothing passed, takes current date.
*
* @param date
* @param date Date
*/
function toMilliseconds(date?: string | Date): number {
if (date != null) {
Expand Down

0 comments on commit 7632415

Please sign in to comment.