From d78951183965c133d0943890439745a9f5b409d2 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sat, 24 Jun 2023 22:46:28 +0200 Subject: [PATCH] fix: Update exported `NextcloudWindowWithRegistry` type to Nextcloud 27 Typeings Signed-off-by: Ferdinand Thiessen --- lib/date.ts | 2 +- lib/registry.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/date.ts b/lib/date.ts index 3b671e3a..23215d77 100644 --- a/lib/date.ts +++ b/lib/date.ts @@ -1,6 +1,6 @@ /// -declare let window: Nextcloud.v24.WindowWithGlobals +declare let window: Nextcloud.v27.WindowWithGlobals /** * Get the first day of the week diff --git a/lib/registry.ts b/lib/registry.ts index a53443ec..86f48b06 100644 --- a/lib/registry.ts +++ b/lib/registry.ts @@ -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 _oc_l10n_registry_plural_functions?: Record }