lib/spoom/sorbet/lsp/structures.rb in spoom-1.2.4 vs lib/spoom/sorbet/lsp/structures.rb in spoom-1.3.0
- old
+ new
@@ -180,21 +180,21 @@
include PrintableSymbol
const :range, LSP::Range
const :code, Integer
const :message, String
- const :informations, Object
+ const :information, Object
class << self
extend T::Sig
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(Diagnostic) }
def from_json(json)
Diagnostic.new(
range: Range.from_json(json["range"]),
code: json["code"].to_i,
message: json["message"],
- informations: json["relatedInformation"],
+ information: json["relatedInformation"],
)
end
end
sig { override.params(printer: SymbolPrinter).void }