7 lines
240 B
TypeScript
7 lines
240 B
TypeScript
export interface ParsedPath {
|
|
pathname: string;
|
|
query: string;
|
|
hash: string;
|
|
}
|
|
export declare const parsePath: (path: string) => ParsedPath;
|
|
export declare const stringifyPath: ({ pathname, query, hash }: ParsedPath) => string;
|