DefinitelyTyped/history/PathUtils.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

8 lines
343 B
TypeScript

import { Path, Location, LocationDescriptor } from './index';
export function addLeadingSlash(path: Path): Path;
export function stripLeadingSlash(path: Path): Path;
export function stripPrefix(path: Path, prefix: string): Path;
export function parsePath(path: Path): Location;
export function createPath(location: LocationDescriptor): Path;