We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d552e76 commit 4ed5cf6Copy full SHA for 4ed5cf6
src/lib/helpers.ts
@@ -8,6 +8,6 @@ export function uuid() {
8
})
9
}
10
11
-export function stripTrailingSlash(url: string) {
12
- return url.replace(/\/$/, "");
+export function stripTrailingSlash(url: string): string {
+ return url.replace(/\/$/, '')
13
0 commit comments