(request: { path: string; version: number; mode?: "document" | "full"; after?: number })
| 628 | return result |
| 629 | }, |
| 630 | async waitForDiagnostics(request: { path: string; version: number; mode?: "document" | "full"; after?: number }) { |
| 631 | const normalizedPath = Filesystem.normalizePath( |
| 632 | path.isAbsolute(request.path) ? request.path : path.resolve(input.directory, request.path), |
| 633 | ) |
| 634 | if (request.mode === "document") { |
| 635 | await waitForDocumentDiagnostics({ path: normalizedPath, version: request.version, after: request.after }) |
| 636 | return |
| 637 | } |
| 638 | await waitForFullDiagnostics({ path: normalizedPath, version: request.version, after: request.after }) |
| 639 | }, |
| 640 | async shutdown() { |
| 641 | connection.end() |
| 642 | connection.dispose() |
nothing calls this directly
no test coverage detected