mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-05 08:50:16 +00:00
history: Update PathUtils for 4.6.2
https://github.com/ReactTraining/history/pull/459
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user