@gobrand/calendar-core 0.0.22 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -383,7 +383,7 @@ declare function getDayDateRange(date: Temporal.PlainDate, timeZone: string): Da
|
|
|
383
383
|
*/
|
|
384
384
|
declare function getWeekdays(weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, locale?: string | string[], format?: 'short' | 'long' | 'narrow'): string[];
|
|
385
385
|
|
|
386
|
-
declare function createCalendar<TItem, TOptions extends CalendarOptions<TItem>>(options: TOptions): Calendar<TItem, TOptions>;
|
|
386
|
+
declare function createCalendar<TItem, TOptions extends CalendarOptions<TItem> = CalendarOptions<TItem>>(options: TOptions): Calendar<TItem, TOptions>;
|
|
387
387
|
|
|
388
388
|
declare function createCalendarViews<TItem>(): <const TViews extends {
|
|
389
389
|
month?: MonthViewOptions<TItem>;
|
package/dist/index.d.ts
CHANGED
|
@@ -383,7 +383,7 @@ declare function getDayDateRange(date: Temporal.PlainDate, timeZone: string): Da
|
|
|
383
383
|
*/
|
|
384
384
|
declare function getWeekdays(weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, locale?: string | string[], format?: 'short' | 'long' | 'narrow'): string[];
|
|
385
385
|
|
|
386
|
-
declare function createCalendar<TItem, TOptions extends CalendarOptions<TItem>>(options: TOptions): Calendar<TItem, TOptions>;
|
|
386
|
+
declare function createCalendar<TItem, TOptions extends CalendarOptions<TItem> = CalendarOptions<TItem>>(options: TOptions): Calendar<TItem, TOptions>;
|
|
387
387
|
|
|
388
388
|
declare function createCalendarViews<TItem>(): <const TViews extends {
|
|
389
389
|
month?: MonthViewOptions<TItem>;
|