refactor: event type builder (#19459)

This commit is contained in:
Udit Takkar authored and GitHub committed 2025-03-20 07:49:14 -07:00
1 parent 08d4c800e9
commit b1b8b0135e
4 files changed
+1049 -52

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ export const getIs24hClockFromLocalStorage = () => {
return is24hFromLocalstorage === "true";
};
export const getTimeFormatStringFromUserTimeFormat = (timeFormat: number | null | undefined) => {
export const getTimeFormatStringFromUserTimeFormat = (timeFormat: number | null | undefined): TimeFormat => {
return timeFormat === 24 ? TimeFormat.TWENTY_FOUR_HOUR : TimeFormat.TWELVE_HOUR;
};