12 lines
274 B
TypeScript
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>;
|