@ngrx/signals
Version:
Reactive Store and Set of Utilities for Angular Signals
7 lines (6 loc) • 389 B
TypeScript
import { PartialStateUpdater } from '@ngrx/signals';
import { EntityId, EntityState, NamedEntityState } from '../models';
export declare function removeEntity(id: EntityId): PartialStateUpdater<EntityState<any>>;
export declare function removeEntity<Collection extends string>(id: EntityId, config: {
collection: Collection;
}): PartialStateUpdater<NamedEntityState<any, Collection>>;