Initial boiler plate project
This commit is contained in:
8
node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.d.ts
generated
vendored
Normal file
8
node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.d.ts
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Removes the trailing slash for a given route or page path. Preserves the
|
||||
* root page. Examples:
|
||||
* - `/foo/bar/` -> `/foo/bar`
|
||||
* - `/foo/bar` -> `/foo/bar`
|
||||
* - `/` -> `/`
|
||||
*/
|
||||
export declare function removeTrailingSlash(route: string): string;
|
||||
Reference in New Issue
Block a user