a lot
This commit is contained in:
@@ -3,3 +3,4 @@ export * from './src/profileId';
|
||||
export * from './src/date';
|
||||
export * from './src/object';
|
||||
export * from './src/names';
|
||||
export * from './src/string';
|
||||
|
||||
3
packages/common/src/string.ts
Normal file
3
packages/common/src/string.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function stripTrailingSlash(url: string) {
|
||||
return url.replace(/\/+$/, '');
|
||||
}
|
||||
Reference in New Issue
Block a user