You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type '(draft: myState, action: myAction) => myState' is not assignable to parameter of type 'ImmerReducer<myState, myAction>'.
Types of parameters 'draft' and 'draftState' are incompatible.
Type 'WritableDraft<myState>' is not assignable to type 'myState'.
Types of property 'items' are incompatible.
Type 'WritableDraft<ClassWithPrivates>' is missing the following properties from type 'ClassWithPrivates': pa, pb, pmethod ts(2345)
The text was updated successfully, but these errors were encountered:
useImmerReducer()
shows a type error when using classes with private properties:The error:
The text was updated successfully, but these errors were encountered: