UNPKG

@ngxs-labs/entity-state

Version:

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

14 lines (13 loc) 436 B
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); }