Files
DefinitelyTyped/history/LocationUtils.d.ts
Young Rok Kim a1abf4fd44 [history] update to v4.5 (#13744)
* [history] update to v4.5

- move legacy history to v2 folder
- fix dependent packages' package.json file to use legacy history v2

* [history] change dependents to support old history

* [history] fix updated dependents
2017-01-13 07:18:45 -08:00

6 lines
378 B
TypeScript

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