You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, the aliasing workaround doesn't give any error, but the caller is unable to detect the parameter type inside of the function (in my example, the caller doesn't know the type of event being TimerEvent)
Currently my own workaround is adding overloads for a reasonable amount of parameters:
Environment
What are the steps to reproduce this issue?
What happens?
I get an error (Unresolved type "fun") on the
fun
keyword in---@vararg fun(event:TimerEvent)
What were you expecting to happen?
The ability to define functions as @vararg param
Any other comments?
The
@param ... fun(event:TimerEvent)
format also doesn't workThe text was updated successfully, but these errors were encountered: