GoScrobble/web/node_modules/@reduxjs/toolkit/dist/entities/create_adapter.d.ts

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>;