history: Update PathUtils for 4.6.2

https://github.com/ReactTraining/history/pull/459
This commit is contained in:
Diogo Franco 2017-06-21 18:22:33 +09:00 committed by GitHub
parent a3af39ba43
commit dfe6809fb2

View File

@ -2,6 +2,8 @@ import { Path, Location, LocationDescriptorObject } from './index';
export function addLeadingSlash(path: Path): Path;
export function stripLeadingSlash(path: Path): Path;
export function stripPrefix(path: Path, prefix: string): Path;
export function hasBasename(path: Path): boolean;
export function stripBasename(path: Path, prefix: string): Path;
export function stripTrailingSlash(path: Path): Path;
export function parsePath(path: Path): Location;
export function createPath(location: LocationDescriptorObject): Path;