Skip to content

Commit

Permalink
fix: relax BitArray#intersectValues types
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain committed Feb 9, 2024
1 parent 93ab30e commit 5d26fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ssz/src/value/bitArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class BitArray {
/**
* Returns an array with the indexes which have a bit set to true
*/
intersectValues<T>(values: T[]): T[] {
intersectValues<T>(values: ArrayLike<T>): T[] {
const yes: T[] = [];

if (values.length !== this.bitLen) {
Expand Down

0 comments on commit 5d26fab

Please sign in to comment.