Reducer getting error is not assignable type 'readonly any[] | Type<any>'

Discussão em 'Angular' iniciado por Vanjara Pankaj, Novembro 20, 2024.

  1. StoreModule.forRoot({
    counter: counterReducer
    })


    In above code when I am importing reducer it is giving me error like assignable type 'readonly any[] | Type'.

    I can not importing counterReducer successfully.

    I have checked solutions from chat GPT and and google but, I cannot get any solution.

    Continue reading...

Compartilhe esta Página