UNPKG

@tanstack/solid-router

Version:

Modern and scalable routing for Solid applications

8 lines (7 loc) 333 B
import * as Solid from 'solid-js'; import type { AnyRouteMatch } from '@tanstack/router-core'; export type NearestMatchContextValue = readonly [ routeId: Solid.Accessor<string | undefined>, match: Solid.Accessor<AnyRouteMatch | undefined> ]; export declare const nearestMatchContext: Solid.Context<NearestMatchContextValue>;