We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ea1898 commit 1de7efeCopy full SHA for 1de7efe
internal/parser/reparser.go
@@ -79,6 +79,7 @@ func (p *Parser) reparseTags(parent *ast.Node, jsDoc []*ast.Node) {
79
for _, tag := range j.AsJSDoc().Tags.Nodes {
80
switch tag.Kind {
81
case ast.KindJSDocTypedefTag:
82
+ // !!! Don't mark typedefs as exported if they are not in a module
83
typeExpression := tag.AsJSDocTypedefTag().TypeExpression
84
if typeExpression == nil {
85
break
0 commit comments