Skip to content

@callback in JS files should not get export modifier, similar to @typedef fix #2048

@jakebailey

Description

@jakebailey

#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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions