Files
Webklar.com/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

6 lines
200 B
TypeScript

/**
* Adds the provided prefix to the given path. It first ensures that the path
* is indeed starting with a slash.
*/
export declare function addPathPrefix(path: string, prefix?: string): string;