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

12 lines
274 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
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>;