@rx-mind/entity-component-store
Version:
Component Store with Entity Selectors and Updaters
10 lines (9 loc) • 513 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 { DidMutate, EntityState, EntityStateOperator } from './models';
export declare function createEntityStateOperator<Arg, Entity extends Record<string, any>, Id extends string | number>(mutator: (arg: Arg, state: EntityState<Entity, Id>) => DidMutate): EntityStateOperator<Arg, Entity, Id>;