From cc975ebd2a8ed0aa984ee2f3fb9d0679a8d92dc6 Mon Sep 17 00:00:00 2001 From: Vaadin Bot Date: Fri, 29 Apr 2022 08:39:31 +0200 Subject: [PATCH] fix: update type definition for i18n formatTime (#3741) (#3742) Co-authored-by: Serhii Kulykov --- packages/time-picker/src/vaadin-time-picker.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/time-picker/src/vaadin-time-picker.d.ts b/packages/time-picker/src/vaadin-time-picker.d.ts index 962c897f75..04d5e624c0 100644 --- a/packages/time-picker/src/vaadin-time-picker.d.ts +++ b/packages/time-picker/src/vaadin-time-picker.d.ts @@ -17,7 +17,7 @@ export interface TimePickerTime { export interface TimePickerI18n { parseTime: (time: string) => TimePickerTime | undefined; - formatTime: (time: TimePickerTime) => string; + formatTime: (time: TimePickerTime | undefined) => string; clear: string; selector: string; }