File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export type WeekdayLong =
1818 | "friday"
1919 | "saturday" ;
2020
21- export const WEEKDAYS_SHORT : WeekdayShort [ ] = [
21+ export const WEEKDAYS_SHORT = [
2222 "sun" ,
2323 "mon" ,
2424 "tue" ,
@@ -28,7 +28,7 @@ export const WEEKDAYS_SHORT: WeekdayShort[] = [
2828 "sat" ,
2929] as const ;
3030
31- export const WEEKDAYS_LONG : WeekdayLong [ ] = [
31+ export const WEEKDAYS_LONG = [
3232 "sunday" ,
3333 "monday" ,
3434 "tuesday" ,
@@ -46,7 +46,7 @@ export const WEEKDAY_MAP: Record<WeekdayIndex, WeekdayShort> = {
4646 4 : "thu" ,
4747 5 : "fri" ,
4848 6 : "sat" ,
49- } ;
49+ } as const ;
5050
5151export const WEEKDAY_SHORT_TO_LONG : Record < WeekdayShort , WeekdayLong > = {
5252 sun : "sunday" ,
@@ -56,4 +56,4 @@ export const WEEKDAY_SHORT_TO_LONG: Record<WeekdayShort, WeekdayLong> = {
5656 thu : "thursday" ,
5757 fri : "friday" ,
5858 sat : "saturday" ,
59- } ;
59+ } as const ;
You can’t perform that action at this time.
0 commit comments