UNPKG

@types/history

Version:
10 lines (8 loc) 381 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>;