Skip to content

Commit

Permalink
fix: #17601 added missing types (QuasarLanguage) (#17602)
Browse files Browse the repository at this point in the history
17601 added missing types

Co-authored-by: Philippe Saint-Just <[email protected]>
  • Loading branch information
psaintjust and Philippe Saint-Just authored Oct 29, 2024
1 parent 88789ef commit a6b812e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/types/lang.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,18 @@ export interface QuasarLanguage {
isoName: string;
nativeName: string;
rtl?: boolean;
label: StringDictionary<QuasarLanguageGeneralLabel>;
label: StringDictionary<QuasarLanguageGeneralLabel> & {
expand: (label?: string | undefined) => string;
collapse: (label?: string | undefined) => string;
};
date: {
days: QuasarLanguageDayTuple;
daysShort: QuasarLanguageDayTuple;
months: QuasarLanguageMonthTuple;
monthsShort: QuasarLanguageMonthTuple;
firstDayOfWeek: number;
format24h: boolean;
pluralDay: string;
headerTitle?: (
date: Date,
model: { year: number; month: number; day: number },
Expand Down

0 comments on commit a6b812e

Please sign in to comment.