diff --git a/compat/operator/elementAt.ts b/compat/operator/elementAt.ts index 9486763b64..16f73e1eff 100644 --- a/compat/operator/elementAt.ts +++ b/compat/operator/elementAt.ts @@ -45,5 +45,5 @@ import { elementAt as higherOrder } from 'rxjs/operators'; * @owner Observable */ export function elementAt(this: Observable, index: number, defaultValue?: T): Observable { - return higherOrder(index, defaultValue)(this); + return higherOrder.apply(undefined, arguments)(this); }