wilddragon-site/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.d.ts

7 lines
258 B
TypeScript
Raw Normal View History

2026-04-17 15:51:01 -04:00
/**
* 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;