diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-16 04:03:31 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-16 04:03:31 +0200 |
| commit | 5100880aefb7a8da7efb59ee32b181b18de4b705 (patch) | |
| tree | 6b864a7babdbf2ea1f9254094b77343291018286 /internal/lsp | |
| parent | 1d49c1e4e4311b26d4ad2fc614b6998ae3f078c8 (diff) | |
Replace interface{} with any in LSP types
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/lsp')
| -rw-r--r-- | internal/lsp/types.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/lsp/types.go b/internal/lsp/types.go index 24be2fe..68101f6 100644 --- a/internal/lsp/types.go +++ b/internal/lsp/types.go @@ -186,11 +186,11 @@ type ExecuteCommandParams struct { // Diagnostic represents a compiler diagnostic such as an error or warning. type Diagnostic struct { - Range Range `json:"range"` - Message string `json:"message"` - Severity int `json:"severity,omitempty"` - Code interface{} `json:"code,omitempty"` - Source string `json:"source,omitempty"` + Range Range `json:"range"` + Message string `json:"message"` + Severity int `json:"severity,omitempty"` + Code any `json:"code,omitempty"` + Source string `json:"source,omitempty"` } // CodeActionContext carries diagnostics associated with a code action request. |
