@rx-mind/entity-component-store
Version:
Component Store with Entity Selectors and Updaters
10 lines (9 loc) • 502 B
TypeScript
/**
* @license
* Copyright NgRx Team. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/ngrx/platform
*/
import { EntityStateAdapter, SelectId, SortComparer } from './models';
export declare function createSortedStateAdapter<Entity extends Record<string, any>, Id extends string | number>(selectId: SelectId<Entity, Id>, sortComparer: SortComparer<Entity>): EntityStateAdapter<Entity, Id>;