We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d1c09d commit 7632415Copy full SHA for 7632415
1 file changed
src/date.ts
@@ -4,7 +4,7 @@ import type { DateEntryDefinition } from './definitions';
4
/**
5
* Converts date passed as a string or Date to a Date object. If nothing passed, takes current date.
6
*
7
- * @param date
+ * @param date Date
8
*/
9
function toDate(date?: string | Date): Date {
10
if (date != null) {
@@ -17,7 +17,7 @@ function toDate(date?: string | Date): Date {
17
18
* Converts date passed as a string or Date to milliseconds. If nothing passed, takes current date.
19
20
21
22
function toMilliseconds(date?: string | Date): number {
23
0 commit comments