lib/spoom/sorbet/lsp/base.rb in spoom-1.2.1 vs lib/spoom/sorbet/lsp/base.rb in spoom-1.2.2

- old
+ new

@@ -10,13 +10,10 @@ # # The language server protocol always uses `"2.0"` as the `jsonrpc` version. class Message extend T::Sig - sig { returns(String) } - attr_reader :jsonrpc - sig { void } def initialize @jsonrpc = T.let("2.0", String) end @@ -40,12 +37,9 @@ class Request < Message extend T::Sig sig { returns(Integer) } attr_reader :id - - sig { returns(String) } - attr_reader :method sig { returns(T::Hash[T.untyped, T.untyped]) } attr_reader :params sig { params(id: Integer, method: String, params: T::Hash[T.untyped, T.untyped]).void }