We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e147b40 commit 4b5a696Copy full SHA for 4b5a696
src/electron/states/module-tree.state.ts
@@ -89,7 +89,7 @@ export class ModuleTreeState extends State {
89
}
90
91
private _getModuleGraph(module: NgModuleSymbol): Graph<NgModuleSymbol> {
92
- const imports = module.getImports();
+ const imports = module.getImports().filter((m?: NgModuleSymbol) => !!m);
93
const nodes: Node<NgModuleSymbol>[] = [
94
{
95
id: getId(module),
0 commit comments