Skip to content

Commit

Permalink
Fix incorrect params for TelemetryEvent notification
Browse files Browse the repository at this point in the history
See this upstream GitHub issue against the spec for more information:

microsoft/language-server-protocol#1686
  • Loading branch information
ebkalderon committed Mar 10, 2023
1 parent 962604a commit 0c7bd0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ impl Notification for LogMessage {
pub enum TelemetryEvent {}

impl Notification for TelemetryEvent {
type Params = serde_json::Value;
type Params = OneOf<LSPObject, LSPArray>;
const METHOD: &'static str = "telemetry/event";
}

Expand Down

0 comments on commit 0c7bd0d

Please sign in to comment.