Imposter/vscode-lua-vu

add callback info

Opened this issue · 0 comments

instead of:

---`SERVER/CLIENT`
---@param callback function @ A callback in the form `function(entity: Entity, event: EntityEvent): bool`.
---@return number
function Entity:RegisterEventCallback(callback) end

it should be

---`SERVER/CLIENT`
---@param callback fun(entity:Entity, event:EntityEvent):boolean
---@return number
function Entity:RegisterEventCallback(callback) end

Something like that if it is possible.