strip-filename.d.ts 152 B

1234
  1. /**
  2. * Removes everything after the last "/", but leaves the slash.
  3. */
  4. export default function stripFilename(path: string | undefined | null): string;