0

I created a simple reducer as part of ngRx, got the below error for the on() method.

enter image description here

also, got some errors in the reducer_creator.d.ts file:

enter image description here

enter image description here

Further, Here is my package.json ngrx and typescript versions:

"@ngrx/effects": "^11.0.1",
"@ngrx/store": "^11.0.1",
"@ngrx/store-devtools": "^11.0.1",
"typescript": "~3.1.6"

Any suggestions to fix this issue?

1 Answer 1

2

NgRx v11 expects TypeScript 4 to be used. https://ngrx.io/guide/migration/v11

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.