create_adapter.d.ts 274 B

1234567891011
  1. import type { Comparer, IdSelector, EntityAdapter } from './models';
  2. /**
  3. *
  4. * @param options
  5. *
  6. * @public
  7. */
  8. export declare function createEntityAdapter<T>(options?: {
  9. selectId?: IdSelector<T>;
  10. sortComparer?: false | Comparer<T>;
  11. }): EntityAdapter<T>;