Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
10
node_modules/next/dist/shared/lib/router/utils/parse-path.d.ts
generated
vendored
Normal file
10
node_modules/next/dist/shared/lib/router/utils/parse-path.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* 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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue