Files
HRM-System/node_modules/@headlessui/react/dist/hooks/use-by-comparator.d.ts
2026-04-13 08:19:53 +08:00

3 lines
222 B
TypeScript

export type ByComparator<T> = (NonNullable<T> extends never ? string : keyof NonNullable<T> & string) | ((a: T, z: T) => boolean);
export declare function useByComparator<T>(by?: ByComparator<T>): (a: T, z: T) => boolean;