expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
15 lines (11 loc) • 407 B
TypeScript
import 'expo/types';
import '@expo/internal-scripts/types/react-server-dom-webpack.d.ts';
declare module 'expo-router/_ctx-shared' {
export const EXPO_ROUTER_CTX_IGNORE: RegExp;
}
declare module 'expo-router/_ctx-html' {
export const ctx: ReturnType<typeof require.context>;
}
declare module 'expo-router/_async-server-import' {
export function asyncServerImport(moduleId: string): Promise<any>;
}