Skip to content

Commit 0dcce5d

Browse files
committed
Fixed issue where all methods would be marked as private.
1 parent caa3154 commit 0dcce5d

File tree

1 file changed

+2
-1
lines changed
  • packages/doxdox-parser-jsdoc/src

1 file changed

+2
-1
lines changed

packages/doxdox-parser-jsdoc/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ export default async (cwd: string, path: string): Promise<File> => {
5858
jsdoc.tags.findIndex(
5959
tag =>
6060
tag.title === 'api' && tag.value === 'private'
61-
)) !== -1;
61+
) !== -1) ||
62+
false;
6263

6364
return {
6465
slug: `${slugify(path)}-${slugify(jsdoc.name)}`,

0 commit comments

Comments
 (0)