mobx
Version:
Simple, scalable state management.
13 lines (12 loc) • 414 B
TypeScript
export interface IEqualsComparer<T> {
(a: T, b: T): boolean;
}
declare function identityComparer(a: any, b: any): boolean;
declare function structuralComparer(a: any, b: any): boolean;
declare function defaultComparer(a: any, b: any): boolean;
export declare const comparer: {
identity: typeof identityComparer;
structural: typeof structuralComparer;
default: typeof defaultComparer;
};
export {};