Skip to content

Commit

Permalink
update types
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskikutis committed Aug 1, 2024
1 parent 336a8fb commit 80d83dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/core/superdesk-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3049,7 +3049,7 @@ declare module 'superdesk-api' {
localization: {
gettext(message: string, params?: {[placeholder: string]: string | number | React.ComponentType}): string;
gettextPlural(count: number, singular: string, plural: string, params?: {[placeholder: string]: string | number | React.ComponentType}): string;
formatDate(date: Date | string): string;
formatDate(date: Date | string | moment.Moment, options?: {timezoneId?: string; longFormat?:boolean}): string;
formatDateTime(date: Date, timezoneId?: string): string;
longFormatDateTime(date: Date | string, timezoneId?: string): string;
getRelativeOrAbsoluteDateTime(
Expand Down

0 comments on commit 80d83dc

Please sign in to comment.