UNPKG

@tanstack/solid-router

Version:

Modern and scalable routing for Solid applications

10 lines (9 loc) 410 B
import { AnyRouteMatch } from '@tanstack/router-core'; import * as Solid from 'solid-js'; export type NearestMatchContextValue = { matchId: Solid.Accessor<string | undefined>; routeId: Solid.Accessor<string | undefined>; match: Solid.Accessor<AnyRouteMatch | undefined>; hasPending: Solid.Accessor<boolean>; }; export declare const nearestMatchContext: Solid.Context<NearestMatchContextValue>;