You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
380 B

import { Path, LocationState, LocationKey, Location, LocationDescriptor } from './index';
export function locationsAreEqual<S = LocationState>(
lv: LocationDescriptor<S>,
rv: LocationDescriptor<S>,
): boolean;
export function createLocation<S = LocationState>(
path: LocationDescriptor<S>,
state?: S,
key?: LocationKey,
currentLocation?: Location<S>,
): Location<S>;