UNPKG

@tanstack/solid-router

Version:

Modern and scalable routing for Solid applications

11 lines (10 loc) 556 B
import { AnyRoute, GetStoreConfig, RouterReadableStore } from '@tanstack/router-core'; declare module '@tanstack/router-core' { interface RouterStores<in out TRouteTree extends AnyRoute> { /** Maps each active routeId to the matchId of its child in the match tree. */ childMatchIdByRouteId: RouterReadableStore<Record<string, string>>; /** Maps each pending routeId to true for quick lookup. */ pendingRouteIds: RouterReadableStore<Record<string, boolean>>; } } export declare const getStoreFactory: GetStoreConfig;