Skip to content

Commit e76c6ca

Browse files
committed
fix: weekendRange return type definition
1 parent c72160e commit e76c6ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cldr.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,20 @@ export function dateFieldName(options: DateFieldNameOptions, locale?: string): s
104104
export function firstDay(locale: string): number;
105105

106106
/**
107-
* The weekend start and end days
107+
* The weekend start and end days.
108108
*/
109-
export interface WeekendRange {
109+
export interface DayRange {
110110
start: number;
111111
end: number;
112112
}
113113

114114
/**
115-
* Returns and object.
115+
* Returns the weekend start and end days.
116116
*
117117
* @param locale - The locale `id`.
118118
* @returns - The weekend range.
119119
*/
120-
export function weekendRange(locale: string): WeekendRange;
120+
export function weekendRange(locale: string): DayRange;
121121

122122
/**
123123
* Loads CLDR data.

0 commit comments

Comments
 (0)