马宇豪
2024-08-21 d972ec93c21ee8cc62fd514bfd910192eeaf48d8
1
2
3
4
/**
 * Removes everything after the last "/", but leaves the slash.
 */
export default function stripFilename(path: string | undefined | null): string;