refactor(lsp): add type annotations

This commit is contained in:
Maria José Solano
2024-02-10 14:03:44 -08:00
parent 8e739af064
commit c73d67d283
8 changed files with 20 additions and 18 deletions

View File

@@ -498,7 +498,7 @@ function Client:handle_body(body)
if decoded.error then
decoded.error = setmetatable(decoded.error, {
__tostring = M.format_rpc_error,
})
}) --- @type table
end
self:try_call(
M.client_errors.SERVER_RESULT_CALLBACK_ERROR,