Skip to content

Commit 1de7efe

Browse files
committed
revert diff that should go in microsoft#826
1 parent 8ea1898 commit 1de7efe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/parser/reparser.go

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ func (p *Parser) reparseTags(parent *ast.Node, jsDoc []*ast.Node) {
7979
for _, tag := range j.AsJSDoc().Tags.Nodes {
8080
switch tag.Kind {
8181
case ast.KindJSDocTypedefTag:
82+
// !!! Don't mark typedefs as exported if they are not in a module
8283
typeExpression := tag.AsJSDocTypedefTag().TypeExpression
8384
if typeExpression == nil {
8485
break

0 commit comments

Comments
 (0)