From ec3b17bb9d29231ec7426c3320748498d7b0e4bd Mon Sep 17 00:00:00 2001 From: lubber-de Date: Thu, 26 Dec 2024 14:53:30 +0100 Subject: [PATCH] feat(types): format parameters for calendars get date functions --- types/fomantic-ui-calendar.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/fomantic-ui-calendar.d.ts b/types/fomantic-ui-calendar.d.ts index 594c97572f..570370b3ee 100644 --- a/types/fomantic-ui-calendar.d.ts +++ b/types/fomantic-ui-calendar.d.ts @@ -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. @@ -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 @@ -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 @@ -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