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
}