Skip to content

Commit

Permalink
Cosmetic clean-up.
Browse files Browse the repository at this point in the history
  • Loading branch information
psmyrek committed Mar 7, 2023
1 parent bf7efda commit 7584e85
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/typedoc-plugins/lib/event-inheritance-fixer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,8 @@ function getDerivedReflections( reflection ) {
const extendedBy = reflection.extendedBy || [];
const implementedBy = reflection.implementedBy || [];

return [
...extendedBy,
...implementedBy
].filter( entry => entry.reflection )
return [ ...extendedBy, ...implementedBy ]
.filter( entry => entry.reflection )
.flatMap( entry => {
const derivedReflection = entry.reflection;

Expand Down

0 comments on commit 7584e85

Please sign in to comment.