Implementing `Equivalence<A>` Interface: Example and Troubleshooting

Looking to understand how to implement Equivalence<A> inteface using the below simple example which I cannot make it work. Any ideas ?

import { Equivalence as Eq } from "effect";

class TestEq implements Eq.Equivalence<TestEq> {
    [Eq.symbol](a: TestEq, b:TestEq): boolean {
        return true;
    }
}
Was this page helpful?