(name: string)
| 160 | } |
| 161 | |
| 162 | toggleCommand(name: string) { |
| 163 | const cmd = name.toLowerCase(); |
| 164 | if (this.disabledCommands.has(cmd)) { |
| 165 | this.disabledCommands.delete(cmd); |
| 166 | return 'enabled'; |
| 167 | } else { |
| 168 | this.disabledCommands.add(cmd); |
| 169 | return 'disabled'; |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | _levenshtein(a: string, b: string) { |
| 174 | const tmp: number[][] = []; |
no outgoing calls
no test coverage detected