Skip to content

Commit

Permalink
feat(types): format parameters for calendars get date functions
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de committed Dec 26, 2024
1 parent 21d259d commit ec3b17b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types/fomantic-ui-calendar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ declare namespace FomanticUI {
/**
* Get the selected date
*/
(behavior: 'get date'): Date | string;
(behavior: 'get date', format?: string): Date | string;

/**
* Set the selected date.
Expand All @@ -52,7 +52,7 @@ declare namespace FomanticUI {
/**
* Get the start date for range selection
*/
(behavior: 'get startDate'): Date | string;
(behavior: 'get startDate', format?: string): Date | string;

/**
* Set the start date for range selection
Expand All @@ -62,7 +62,7 @@ declare namespace FomanticUI {
/**
* Get the end date for range selection
*/
(behavior: 'get endDate'): Date | string;
(behavior: 'get endDate', format?: string): Date | string;

/**
* Set the end date for range selection
Expand All @@ -72,7 +72,7 @@ declare namespace FomanticUI {
/**
* Get the currently focused date
*/
(behavior: 'get focusDate'): Date | string;
(behavior: 'get focusDate', format?: string): Date | string;

/**
* Set the currently focused date
Expand Down

0 comments on commit ec3b17b

Please sign in to comment.