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/page-path/normalize-page-path.d.ts
generated
vendored
Normal file
10
node_modules/next/dist/shared/lib/page-path/normalize-page-path.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* Takes a page and transforms it into its file counterpart ensuring that the
|
||||
* output is normalized. Note this function is not idempotent because a page
|
||||
* `/index` can be referencing `/index/index.js` and `/index/index` could be
|
||||
* referencing `/index/index/index.js`. Examples:
|
||||
* - `/` -> `/index`
|
||||
* - `/index/foo` -> `/index/index/foo`
|
||||
* - `/index` -> `/index/index`
|
||||
*/
|
||||
export declare function normalizePagePath(page: string): string;
|
||||
Loading…
Add table
Add a link
Reference in a new issue