mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
history: Update PathUtils for 4.6.2
https://github.com/ReactTraining/history/pull/459
This commit is contained in:
parent
a3af39ba43
commit
dfe6809fb2
4
types/history/PathUtils.d.ts
vendored
4
types/history/PathUtils.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user