From adae78e747e4d56274e6267330e62bb29866c17e Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 14 Sep 2025 20:16:38 +0300 Subject: [PATCH] fix(client): typecheck --- apps/client/src/types-lib.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/client/src/types-lib.d.ts b/apps/client/src/types-lib.d.ts index 0c4474e94..14403b743 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; + } +}