Skip to content

Commit

Permalink
fix: update type definition for i18n formatTime (#3741) (#3742)
Browse files Browse the repository at this point in the history
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
  • Loading branch information
vaadin-bot and web-padawan committed Apr 29, 2022
1 parent f58fa8b commit cc975eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/time-picker/src/vaadin-time-picker.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cc975eb

Please sign in to comment.