normalize-path-sep.d.ts 228 B

123456
  1. /**
  2. * For a given page path, this function ensures that there is no backslash
  3. * escaping slashes in the path. Example:
  4. * - `foo\/bar\/baz` -> `foo/bar/baz`
  5. */
  6. export declare function normalizePathSep(path: string): string;