Skip to content

Commit

Permalink
fix: update type definition for i18n formatTime (#3741) (#3743)
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 authored Apr 28, 2022
1 parent 39c37f8 commit f72c6e8
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 f72c6e8

Please sign in to comment.