Skip to content

Commit d4d3b8f

Browse files
committed
Do not skip empty entry points
Resolves #2007
1 parent 4f2a12f commit d4d3b8f

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
### Bug Fixes
44

5+
- TypeDoc will no longer skip entry points which have no exports, #2007.
6+
If using `"entryPointStrategy": "expand"`, this change may result in new pages being added to your documentation.
7+
If this is not desired, you can use the `exclude` option to filter them out.
58
- Fixed missing comments on callable variable-functions constructed indirectly, #2008.
69
- Fixed multiple reflections mapping to the same file name on case insensitive file systems, #2012.
710

src/lib/converter/converter.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,6 @@ export class Converter extends ChildableComponent<
240240
const symbol = getSymbolForModuleLike(context, node);
241241
let moduleContext: Context;
242242

243-
const allExports = getExports(context, node, symbol);
244-
245-
if (allExports.every((exp) => this.shouldIgnore(exp))) {
246-
this.owner.logger.verbose(
247-
`All members of ${entryName} are excluded, ignoring entry point.`
248-
);
249-
return;
250-
}
251-
252243
if (singleEntryPoint) {
253244
// Special case for when we're giving a single entry point, we don't need to
254245
// create modules for each entry. Register the project as this module.
@@ -302,6 +293,7 @@ export class Converter extends ChildableComponent<
302293
moduleContext = context.withScope(reflection);
303294
}
304295

296+
const allExports = getExports(context, node, symbol);
305297
for (const exp of allExports.filter((exp) =>
306298
isDirectExport(context.resolveAliasedSymbol(exp), node)
307299
)) {

0 commit comments

Comments
 (0)