Files
scrap/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.d.ts
2024-09-24 03:52:46 +00: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;