Skip to content

Commit

Permalink
fix: Update exported NextcloudWindowWithRegistry type to Nextcloud …
Browse files Browse the repository at this point in the history
…27 Typeings

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Jun 24, 2023
1 parent 408c537 commit d789511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/date.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="@nextcloud/typings" />

declare let window: Nextcloud.v24.WindowWithGlobals
declare let window: Nextcloud.v27.WindowWithGlobals

/**
* Get the first day of the week
Expand Down
2 changes: 1 addition & 1 deletion lib/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export type PluralFunction = (number: number) => number
*
* @private
*/
export interface NextcloudWindowWithRegistry extends Nextcloud.v25.WindowWithGlobals {
export interface NextcloudWindowWithRegistry extends Nextcloud.v27.WindowWithGlobals {
_oc_l10n_registry_translations?: Record<string, Translations>
_oc_l10n_registry_plural_functions?: Record<string, PluralFunction>
}
Expand Down

0 comments on commit d789511

Please sign in to comment.