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