Skip to content

Commit

Permalink
fix: removeReflection does not fully remove reflections
Browse files Browse the repository at this point in the history
Closes #1176
  • Loading branch information
Gerrit0 committed Jan 15, 2020
1 parent 67987ad commit f9c126a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/basic/src/hidden.ts
@@ -0,0 +1,10 @@
/**
* This whole module is hidden in the generated documentation.
* @packageDocumentation
* @hidden
*/

/**
* Will not show up in the generated docs since the module is hidden.
*/
export const hidden = true;
2 changes: 2 additions & 0 deletions src/lib/models/reflections/project.ts
Expand Up @@ -207,6 +207,8 @@ export class ProjectReflection extends ContainerReflection {
for (const id of ids ?? []) {
this.symbolIdToReflectionIdMap.delete(id);
}

delete this.reflections[reflection.id];
}

/**
Expand Down

0 comments on commit f9c126a

Please sign in to comment.