Skip to content

Commit 15ea85f

Browse files
Alec LaLondeGerrit0
authored andcommitted
Don't create navigation links to empty declarations
1 parent 52fa7fa commit 15ea85f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/output/themes/DefaultTheme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ export class NavigationBuilder {
384384
target = target.parent;
385385
}
386386

387-
if (inScope && someModule instanceof DeclarationReflection) {
387+
if (inScope && someModule instanceof DeclarationReflection && someModule.children && someModule.children.length > 0) {
388388
modules.push(someModule);
389389
}
390390
});

0 commit comments

Comments
 (0)