Skip to content

Commit

Permalink
fix ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Aug 26, 2024
1 parent 481299d commit 77b08ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/crdt/src/crdts/GSet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ export function gset_lookup<T>(gset: GSet<T>, element: T): boolean {
}

export function gset_compare<T>(gset: GSet<T>, peerSet: GSet<T>): boolean {
/* @ts-ignore */
return (
gset.set.size === peerSet.set.size &&
gset.set.values().every((value) => peerSet.set.has(value))
gset.set
.values()
// @ts-ignore
.every((value) => peerSet.set.has(value))
);
}

Expand Down

0 comments on commit 77b08ee

Please sign in to comment.