mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
4 lines
101 B
TypeScript
4 lines
101 B
TypeScript
export default {
|
|
withoutTrailingSlash: (input: string): string => input.replace(/\/{1,}$/, ''),
|
|
};
|