@shopify/app-bridge
Version:
> **Maintenance Mode:** Although apps using this package will continue to function, it is no longer receiving updates. For new projects, please use the [CDN version of App Bridge](https://shopify.dev/docs/api/app-home?accordionItem=getting-started-build-y
6 lines (5 loc) • 314 B
TypeScript
import type { HostFrame } from '../MessageTransport';
export declare function shouldRedirect(frame: HostFrame): boolean;
export declare function redirect(url: string): void;
export declare function getLocation(): Location | undefined;
export declare function getWindow(): (Window & typeof globalThis) | undefined;