Closed mrbuds closed 3 months ago
I documented it as this but I don't know how to replace the definition from sumneko, will have to ask
---@param f function
---@param err function
---@vararg any
---@return boolean status
---@return ...
function xpcall(f, err, ...) end
Should be fixed by replacing the LuaLS xpcall in 0.15.0 https://github.com/Ketho/vscode-wow-api/blob/2ae75ed53667b7dae7cf23840b066aca6d505029/Annotations/Lua/basic.lua#L338
In 5.1 xpcall has 2 arguments, optionals were added in 5.2 WoW use 5.2 xpcall, i don't know if something can be done about it with vscode-wow-api