Files
cartlog-admin/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.d.ts
2026-01-01 15:25:19 +05:30

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;