Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): typecheck

Elian Doranadae78e747e4
diff --git a/apps/client/src/types-lib.d.ts b/apps/client/src/types-lib.d.ts
index 0c4474e946..14403b743a 100644
--- a/apps/client/src/types-lib.d.ts
+++ b/apps/client/src/types-lib.d.ts
@@ -51,3 +51,12 @@ declare module "leaflet" {
markers?: GPXMarker | undefined;
}
}
+
+declare global {
+ interface Navigator {
+ /** Returns a boolean indicating whether the browser is running in standalone mode. Available on Apple's iOS Safari only. */
+ standalone?: boolean;
+ /** Returns the WindowControlsOverlay interface which exposes information about the geometry of the title bar in desktop Progressive Web Apps, and an event to know whenever it changes. */
+ windowControlsOverlay?: unknown;
+ }
+}