UNPKG

expo-router

Version:

Expo Router is a file-based router for React Native and web applications.

4 lines (3 loc) • 325 B
import type { ParamListBase, Route, StackNavigationState } from '../../native'; import { CommonActions } from '../../native'; export declare function makeRestoreRouteAction(dispatchSync: (action: ReturnType<typeof CommonActions.reset>) => void, state: StackNavigationState<ParamListBase>): (route: Route<string>) => boolean;