Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

builder.addCase() drop an error #5

Open
veremey opened this issue Jun 13, 2023 · 0 comments
Open

builder.addCase() drop an error #5

veremey opened this issue Jun 13, 2023 · 0 comments

Comments

@veremey
Copy link

veremey commented Jun 13, 2023

https://github.com/xjamundx/redux-shopping-cart/blob/3fc749e949c18496e42e6e318b52dc46e94936b9/lessons/17-extraReducers-addCase/cartSlice.ts#LL38C4-L40C7

Hello,
In this line of code, typescript drops an error for me Property 'addCase' does not exist on type 'WritableDraft<CartState>'
TypeScript config: "strict": false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant