@ngxs-labs/entity-state
Version:
<p align="center"> <img src="https://raw.githubusercontent.com/ngxs-labs/emitter/master/docs/assets/logo.png"> </p>
14 lines (13 loc) • 449 B
TypeScript
import { EntityState } from '../entity-state';
import { Type } from '@angular/core';
export interface EntitySetLoadingAction {
payload: boolean;
}
export declare class SetLoading {
/**
* Generates an action that will set the loading state for the given state.
* @param target The targeted state class
* @param loading The loading state
*/
constructor(target: Type<EntityState<any>>, loading: boolean);
}