(str: string)
| 586 | } |
| 587 | |
| 588 | toKebabCase(str: string): string { |
| 589 | return str.replaceAll(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(); |
| 590 | } |
| 591 | |
| 592 | // Levenshtein edit distance between two strings, for "did you mean" suggestions. |
| 593 | static #distance(first: string, second: string): number { |
no outgoing calls
no test coverage detected