Skip to content

Commit daec593

Browse files
committed
chore: fix args
1 parent ed31aad commit daec593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/reactivity/src/arrayInstrumentations.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function apply(
241241
// @ts-expect-error
242242
if (arr[method] !== arrayProto[method]) {
243243
// @ts-expect-error
244-
return arr[method](fn, thisArg)
244+
return arr[method](...arrayProto.slice.call(arguments, 2))
245245
}
246246

247247
let needsWrap = false

0 commit comments

Comments
 (0)