Skip to content

Commit

Permalink
Merge pull request #259 from ebkalderon/fix-telemetry-event-params
Browse files Browse the repository at this point in the history
Fix incorrect params type for TelemetryEvent notification
  • Loading branch information
Marwes authored Nov 22, 2023
2 parents a15daed + 0c7bd0d commit 7309240
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 7309240

Please sign in to comment.