#1999 applied to @typedef, but other syntax like @callback and maybe even @overload also need to be careful to not confuse things; see #2044 (comment).
I am not sure if we have tests specifically for this case; the places I'm seeing a diff with @callback appear to be in files that are already modules through other means?