Skip to content

Commit

Permalink
Alternative linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Oct 12, 2024
1 parent f4dd75d commit 09d301a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/reactor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -944,9 +944,10 @@ export abstract class Reactor extends Component {
* Return the reactors that this reactor owns.
*/
private _getOwnReactors(): Reactor[] {
// eslint-disable-next-line
return Array.from(this._keyChain.keys()).filter(
(it) => it instanceof Reactor
);
) as Reactor[];
}

/**
Expand Down

0 comments on commit 09d301a

Please sign in to comment.