sig/steep/server/worker_process.rbs in steep-1.4.0.dev.2 vs sig/steep/server/worker_process.rbs in steep-1.4.0.dev.3
- old
+ new
@@ -1,5 +1,7 @@
+use LanguageServer::Protocol as LSP
+
module Steep
module Server
# WorkerProcess class represents a worker process
#
# Available operations are:
@@ -19,24 +21,24 @@
class WorkerProcess
interface _ProcessWaitThread
def pid: () -> Integer
end
- attr_reader reader: LanguageServer::Protocol::Transport::Io::Reader
+ attr_reader reader: LSP::Transport::Io::Reader
- attr_reader writer: LanguageServer::Protocol::Transport::Io::Writer
+ attr_reader writer: LSP::Transport::Io::Writer
attr_reader stderr: IO?
attr_reader name: String
attr_reader wait_thread: Thread & _ProcessWaitThread
attr_reader index: Integer?
def initialize: (
- reader: LanguageServer::Protocol::Transport::Io::Reader,
- writer: LanguageServer::Protocol::Transport::Io::Writer,
+ reader: LSP::Transport::Io::Reader,
+ writer: LSP::Transport::Io::Writer,
stderr: IO?,
wait_thread: Thread & _ProcessWaitThread,
name: String,
?index: Integer?
) -> void