Closed
Description
Hi,
I'm unable to get the ---@overload
feature to work.
This is my code:
--- Create and return a new AnimationGroup as a child of this Region.
---@param name string
---@param inheritsFrom string
---@return boolean test
---@overload fun():boolean
---@overload fun(name:string):boolean
function Region:CreateAnimationGroup(name, inheritsFrom) end
and this is the result:
You can see there are no parameters shown and I'm also not able to set a name for the return value.
The expected behavior for me would look something like this:
function Region:CreateAnimationGroup(name: string, inheritsFrom: string)
-> test: boolean
function Region:CreateAnimationGroup(name: string)
-> test: boolean
function Region:CreateAnimationGroup()
-> test: boolean
Best regards