securityos/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.d.ts

7 lines
228 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
/**
* For a given page path, this function ensures that there is no backslash
* escaping slashes in the path. Example:
* - `foo\/bar\/baz` -> `foo/bar/baz`
*/
export declare function normalizePathSep(path: string): string;