mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
10 lines
341 B
TypeScript
10 lines
341 B
TypeScript
import { shallowEqual } from "@videojs/utils/object";
|
|
//#region src/core/shallow-equal.d.ts
|
|
interface Selector<State, Result> {
|
|
(state: State): Result;
|
|
displayName?: string | undefined;
|
|
}
|
|
type Comparator<T> = (a: T, b: T) => boolean;
|
|
//#endregion
|
|
export { Comparator, Selector, shallowEqual };
|
|
//# sourceMappingURL=shallow-equal.d.ts.map
|