summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/lsp/types.go10
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.