fix(lua): annotations for workspace event

This commit is contained in:
əlemi 2024-10-26 19:11:29 +02:00 committed by alemi.dev
parent b398c01137
commit 17bcbdf932

View file

@ -324,8 +324,9 @@ function Workspace:fetch_users(path) end
function Workspace:fetch_buffer_users(path) end function Workspace:fetch_buffer_users(path) end
---@class (exact) WorkspaceEvent ---@class (exact) WorkspaceEvent
---@field type string ---@field type string can be "UserJoin", "UserLeave" or "FileTreeUpdated"
---@field value string ---@field name? string present for "UserJoin" and "UserLeave"
---@field path? string present for "FileTreeUpdated"
---@return MaybeWorkspaceEventPromise ---@return MaybeWorkspaceEventPromise
---@async ---@async