Skip to content

Commit f68d73e

Browse files
fix: day of week type literal (#2630)
1 parent 0309582 commit f68d73e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ declare namespace dayjs {
114114
* ```
115115
* Docs: https://day.js.org/docs/en/get-set/day
116116
*/
117-
day(): number
117+
day(): 0 | 1 | 2 | 3 | 4 | 5 | 6
118118
/**
119119
* Set the day of the week.
120120
*

0 commit comments

Comments
 (0)