From f68d73efe562fdedd9e288ecb0ce6565e602f507 Mon Sep 17 00:00:00 2001 From: Charlie Levine <52892481+charliejlevine@users.noreply.github.com> Date: Sat, 27 Apr 2024 10:33:47 -0700 Subject: [PATCH] fix: day of week type literal (#2630) --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 766bd7943..cd159dcae 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -114,7 +114,7 @@ declare namespace dayjs { * ``` * Docs: https://day.js.org/docs/en/get-set/day */ - day(): number + day(): 0 | 1 | 2 | 3 | 4 | 5 | 6 /** * Set the day of the week. *