(name: string, suggestions: () => string[])
| 194 | } |
| 195 | |
| 196 | suggest(name: string, suggestions: () => string[]) { |
| 197 | this.completions.set(name, suggestions) |
| 198 | } |
| 199 | |
| 200 | getCompletions(name: string) { |
| 201 | return this.completions.get(name)?.() ?? [] |
no test coverage detected