staruml-typescript
staruml-typescript copied to clipboard
Fix the wrong negation of the instanceof check
!elem._parent instanceof type.UMLInterface
leads to negating the elem._parent and then doing the instanceof check, which will always result in false.
Always returning false will lead to var _modifiers = this.getModifiers(elem); to not be called, which finally leads to _modifiers.includes("abstract") to fail, because _modifiers is not set