(filePath: string, text: string)
| 204 | } |
| 205 | |
| 206 | async didOpen(filePath: string, text: string) { |
| 207 | const uri = await toUri(filePath); |
| 208 | await this.sendNotificationToBoth( |
| 209 | 'textDocument/didOpen', |
| 210 | { |
| 211 | textDocument: { |
| 212 | uri, |
| 213 | languageId: 'typescript', |
| 214 | version: ++this.currentVersion, |
| 215 | text, |
| 216 | }, |
| 217 | }, |
| 218 | filePath, |
| 219 | ); |
| 220 | } |
| 221 | |
| 222 | async didChange(filePath: string, text: string, version?: number) { |
| 223 | const uri = await toUri(filePath); |
no test coverage detected