mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [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
8 lines
343 B
TypeScript
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;
|