amis-rpc-design/node_modules/@reduxjs/toolkit/dist/entities/create_adapter.d.ts
2023-10-07 19:42:30 +08:00

12 lines
274 B
TypeScript

import type { Comparer, IdSelector, EntityAdapter } from './models';
/**
*
* @param options
*
* @public
*/
export declare function createEntityAdapter<T>(options?: {
selectId?: IdSelector<T>;
sortComparer?: false | Comparer<T>;
}): EntityAdapter<T>;