UNPKG

@rx-mind/entity-component-store

Version:
10 lines (9 loc) 513 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 { 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>;