NeahFront7/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.d.ts
2025-04-10 18:14:28 +02:00

7 lines
258 B
TypeScript

/**
* Similarly to `addPathPrefix`, this function adds a suffix at the end on the
* provided path. It also works only for paths ensuring the argument starts
* with a slash.
*/
export declare function addPathSuffix(path: string, suffix?: string): string;