@rx-mind/entity-component-store
Version:
Component Store with Entity Selectors and Updaters
11 lines (10 loc) • 542 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 { SelectId } from './models';
export declare function selectIdValue<Entity extends Record<string, any>, Id extends string | number>(entity: Entity, selectId: SelectId<Entity, Id>): Id;
export declare function getDefaultSelectId<Entity extends Record<string, any>, Id extends string | number>(): SelectId<Entity, Id>;