Files
Fluxup_PAP/node_modules/expo-router/build/global.d.ts
2026-03-10 16:18:05 +00:00

29 lines
878 B
TypeScript

declare module 'expo-modules-core' {
namespace ExpoGlobal {
let router: {
/**
* Experimental API to listen for navigation events in Expo Router.
*
* @experimental
*/
get navigationEvents(): {
enable: () => void;
saveCurrentPathname: () => void;
};
/**
* Experimental API to get the current pathname in Expo Router.
*
* @experimental
*/
get currentPathname(): string | undefined;
/**
* Experimental API to get the current route params in Expo Router.
*
* @experimental
*/
get currentParams(): Record<string, string> | undefined;
};
}
}
export {};
//# sourceMappingURL=global.d.ts.map