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; + } +}