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 that documented somewhere? I feel like it's somewhat unintuitive
Maybe @type could also be supported (or even be used instead), since I feel like it's more in line with a variable assignment than a function definition.
Activity
asumbek commentedon Jan 19, 2024
You can use
@castannotation for a workaround, but I think this will be a better alternative to that.CppCXY commentedon Jan 19, 2024
---@param s stringsaecki commentedon Jan 19, 2024
Is that documented somewhere? I feel like it's somewhat unintuitive
Maybe
@typecould also be supported (or even be used instead), since I feel like it's more in line with a variable assignment than a function definition.[-]Cannot type for loop variable[/-][+]Cannot type for-loop variable[/+]