4 lines
84 B
TypeScript
4 lines
84 B
TypeScript
|
export function getFileName(path: string) {
|
||
|
return path.replace(/.*[\\/]/, '');
|
||
|
}
|