UNPKG

@ngxs-labs/entity-state

Version:

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.0.5.

15 lines (14 loc) 590 B
import { EntitySelector, Payload } from './type-alias'; import { EntityState } from '../entity-state'; import { Type } from '@angular/core'; export declare type EntityRemoveAction<T> = Payload<EntitySelector<T>>; export declare class Remove<T> { /** * Generates an action that will remove the given entities from the state. * Put null if all entities should be removed. * @param target The targeted state class * @param payload An EntitySelector payload * @see EntitySelector */ constructor(target: Type<EntityState<T>>, payload: EntitySelector<T>); }