add-path-prefix.d.ts 200 B

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