UNPKG

@rx-mind/entity-component-store

Version:
10 lines (9 loc) 502 B
/** * @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>;