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