You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
467 B
10 lines
467 B
import { Path, Location, LocationDescriptorObject } from './index';
|
|
|
|
export function addLeadingSlash(path: Path): Path;
|
|
export function stripLeadingSlash(path: Path): 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<S>(location: LocationDescriptorObject<S>): Path;
|