UNPKG

381 BTypeScriptView Raw
1import { Path, LocationState, LocationKey, Location, LocationDescriptor } from './index';
2
3export function locationsAreEqual<S = LocationState>(lv: LocationDescriptor<S>, rv: LocationDescriptor<S>): boolean;
4export function createLocation<S = LocationState>(
5 path: LocationDescriptor<S>,
6 state?: S,
7 key?: LocationKey,
8 currentLocation?: Location<S>,
9): Location<S>;