diff --git a/exp_groups/module/control.lua b/exp_groups/module/control.lua index 0c61af71..232fd6e3 100644 --- a/exp_groups/module/control.lua +++ b/exp_groups/module/control.lua @@ -3,7 +3,7 @@ Adds permission group syncing to clusterio ]] local clusterio_api = require("modules/clusterio/api") -local compat = require("modules/clusterio/compat") +local compat = require("modules/clusterio/compat") --[[@as LibCompat]] --- Top level module table, contains event handlers and public methods --- @class ExpGroups diff --git a/exp_gui/module/data.lua b/exp_gui/module/data.lua index 8ae9e15e..dffe6e64 100644 --- a/exp_gui/module/data.lua +++ b/exp_gui/module/data.lua @@ -61,7 +61,8 @@ local GuiData = { --- @field element_data table> --- @field player_data table --- @field force_data table ---- @field global_data table +--- @field global_data table +--- @field [DataKey] any -- This class has no prototype methods -- Same as raw but __index ensures the values exist diff --git a/exp_roles/module/control.lua b/exp_roles/module/control.lua index 59b5696e..93c5cd37 100644 --- a/exp_roles/module/control.lua +++ b/exp_roles/module/control.lua @@ -12,7 +12,7 @@ made with `assign_player_local`. ]] local clusterio_api = require("modules/clusterio/api") -local compat = require("modules/clusterio/compat") +local compat = require("modules/clusterio/compat") --[[@as LibCompat]] local Async = require("modules/exp_util/async") --- @class ExpRoles diff --git a/exp_util/module/async.lua b/exp_util/module/async.lua index 3a837030..73bb7c81 100644 --- a/exp_util/module/async.lua +++ b/exp_util/module/async.lua @@ -93,7 +93,7 @@ local Async = { Async.status = {} --- @class Async.AsyncFunction ---- @field id number The id of this async function +--- @field id string The id of this async function --- @operator call: Async.AsyncReturn Async._function_prototype = {} @@ -104,10 +104,10 @@ Async._function_metatable = { } --- @class Async.AsyncReturn ---- @field func_id number The id of the async function to be called +--- @field func_id string The id of the async function to be called --- @field args any[] The arguments to call the function with --- @field tick number? If present, the function will be called on this game tick ---- @field next_id number? The id of the async function to be called with the return value +--- @field next_id string? The id of the async function to be called with the return value --- @field canceled boolean? True if the call has been canceled --- @field completed boolean? True if the call has completed --- @field return_values any? The return values of the function call