Skip to content
Snippets Groups Projects
actions.ts 416 B
Newer Older
  • Learn to ignore specific revisions
  • import { ActionCreator } from '@ngrx/store';
    import { TypedAction } from '@ngrx/store/src/models';
    import { ApiError } from '../tech.model';
    
    export interface TypedActionCreatorWithProps<T> extends ActionCreator<string, (props: T) => T & TypedAction<string>> { }
    export interface TypedActionCreator extends ActionCreator<string, () => TypedAction<string>> { }
    
    export interface ApiErrorAction {
    	apiError: ApiError
    }