bpms_site/.svn/pristine/90/90b6489990795631e05bec80e822d65863ba72d8.svn-base
2025-11-02 16:38:49 +03:30

11 lines
320 B
Plaintext

/**
* 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;
};