(name: string, groups: () => SuggestionGroup[])
| 132 | } |
| 133 | |
| 134 | suggest(name: string, groups: () => SuggestionGroup[]) { |
| 135 | let existingGroups = this.completions.get(name) |
| 136 | if (existingGroups) { |
| 137 | this.completions.set(name, () => [...existingGroups?.(), ...groups?.()]) |
| 138 | } else { |
| 139 | this.completions.set(name, groups) |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | keys(kind: 'static' | 'functional') { |
| 144 | let keys: string[] = [] |
no test coverage detected