Skip to content

Commit 782221f

Browse files
authored
Merge pull request #20332 from emberjs/types-publishing-moar
Types publishing: always `this.traverse(path)` in visitors
2 parents ff55840 + e533514 commit 782221f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/publish.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ export function rewriteModule(code, moduleName) {
552552
if (!hasParentModuleDeclarationBlock(path)) {
553553
path.node.declare = false;
554554
}
555-
this.traverse(false);
555+
this.traverse(path);
556556
},
557557

558558
// Remove `declare` from `declare enum` in the top-level module.

0 commit comments

Comments
 (0)