Angular is giving State’ is not assignable to type ‘ActionReducer<State, Action>’ error

Above error is thrown by VSCode IDE, while trying to combine reducers in one file. import { ActionReducerMap } from ‘@ngrx/store’; import { employeeReducer, State } from ‘./store/reducers/employee.reducer’; export interface AppState { employee: State; } export const appReducer: ActionReducerMap<AppState> = { employee: employeeReducer, // Getting IDE error here }; My action looks like import { […]

By Rajath
Categorized as angular, angular13, ngrx-reducers, ngrx-store Tagged , , ,

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us