Files
Webklar.com/node_modules/next/dist/shared/lib/router/utils/parse-path.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

11 lines
320 B
TypeScript

/**
* Given a path this function will find the pathname, query and hash and return
* them. This is useful to parse full paths on the client side.
* @param path A path to parse e.g. /foo/bar?id=1#hash
*/
export declare function parsePath(path: string): {
pathname: string;
query: string;
hash: string;
};