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
---@classdefinition---@fieldsome_stuff'"value_1"'|'"value_2"---@fieldsome_functionfun(string): string---@paramdefdefinitionfunctionregister(def)
....
endregister({
some_stuff="value_1",
-- got auto-completion of the two possible valuessome_function=function() end-- got no auto-completion of the function body, unlike with `@param func fun(string): string`, and no type hints when adding the function body by hand
})