This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-js/lib/src/native/navigator.d.ts

12 lines
434 B
TypeScript

import { BridgeContext } from "../runtime/global";
export declare function navigator(context: BridgeContext): {
push: (source: string, config?: {
alias?: string | undefined;
animated?: boolean | undefined;
extra?: object | undefined;
singlePage?: boolean | undefined;
} | undefined) => Promise<any>;
pop: (animated?: boolean) => Promise<any>;
openUrl: (url: string) => Promise<any>;
};