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
Is there something I can do have type checking for passed in functions?
---@paramfnfun(i: integer)localfunctionaccepts_integer_function(fn)
end---@typefun(s: string)localfunctionmismatching_function(s)
end-- expecting this to raise an error, but it doesn'taccepts_integer_function(mismatching_function)
Activity