Skip to content

Redux Devtools angular 8 #103

Open
Open
@justintim-es

Description

@justintim-es

Im trying to configure the redux devtools in app.module the way is used to configure it, but now i get an intellesense error.

Type 'StoreEnhancer<any, {}>[]' is not assignable to type 'Middleware<{}, any, Dispatch>'.
Type 'StoreEnhancer<any, {}>[]' provides no match for the signature '(api: MiddlewareAPI<Dispatch, any>): (next: Dispatch) => (action: any) => any'

constructor(private ngRedux: NgRedux<IAppState>, devTools: DevToolsExtension) { const enhancer = isDevMode() ? [devTools.enhancer()] : []; this.ngRedux.configureStore(reducers, initialState, enhancer); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions