isEqualWith has wrong return type for customizer
Opened this issue · 0 comments
felixfbecker commented
From the docs:
If customizer returns undefined, comparisons are handled by the method instead.
interface IsEqualCustomizer {
(value: any, other: any, indexOrKey?: number | string): boolean;
}
should be
interface IsEqualCustomizer {
(value: any, other: any, indexOrKey?: number | string): boolean | void;
}