(ideInfo: IdeInfo, apiKey: string, completionId: string)
| 205 | } |
| 206 | |
| 207 | acceptedLastCompletion(ideInfo: IdeInfo, apiKey: string, completionId: string): void { |
| 208 | const request = new AcceptCompletionRequest({ |
| 209 | metadata: this.getMetadata(ideInfo, apiKey), |
| 210 | completionId, |
| 211 | }); |
| 212 | const message: AcceptCompletionRequestMessage = { |
| 213 | kind: 'acceptCompletion', |
| 214 | request: request.toJsonString(), |
| 215 | }; |
| 216 | this.port.postMessage(message); |
| 217 | } |
| 218 | } |
no test coverage detected