chore(intellisense): improve parameter annotations and add missing comments
Touched up incorrect or missing Intellisense parameter annotations across several functions. Added some missing descriptions to improve editor support. Still more to do, but this is a small step forward for overall developer workflow. Also small fix in picklexp
This commit is contained in:
1 parent
866283162b
commit
c71a261115
88 files changed
+339
-286
No files matched your search
@@ -2,7 +2,8 @@ local resourceName = "ox_lib"
|
||||
local configValue = BridgeClientConfig.MenuSystem
|
||||
if (configValue == "auto" and GetResourceState(resourceName) ~= "started") or (configValue ~= "auto" and configValue ~= resourceName) then return end
|
||||
Menus = Menus or {}
|
||||
--- Converts a QB menu to an Ox menu.
|
||||
|
||||
---Converts a QB menu to an Ox menu.
|
||||
---@param id string The menu ID.
|
||||
---@param menu table The QB menu data.
|
||||
---@return table The Ox menu data.
|
||||
@@ -50,4 +51,4 @@ OpenMenu = function(id, data, useQBinput)
|
||||
lib.registerContext(data)
|
||||
lib.showContext(id)
|
||||
return data
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user