Skip to content

Commit

Permalink
fix: revert arguments change in fromEvent spec
Browse files Browse the repository at this point in the history
  • Loading branch information
43081j committed Oct 30, 2023
1 parent 23f47eb commit 7a33fa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/rxjs/spec/observables/fromEvent-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ describe('fromEvent', () => {
};

function selector(x: number, y: number, z: number) {
return [].slice.call(x, y, z);
// eslint-disable-next-line prefer-rest-params
return [].slice.call(arguments);
}

fromEvent(obj, 'click', selector)
Expand Down

0 comments on commit 7a33fa7

Please sign in to comment.