mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 14:18:08 +00:00
fixed types
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export default function toKebabCase(text: string) {
|
||||
export default function toKebabCase(text: string): string {
|
||||
return text
|
||||
.replace(/([a-z])([A-Z])/g, "$1-$2")
|
||||
.replace(/\s+/g, "-")
|
||||
|
||||
Reference in New Issue
Block a user