Redux Toolkit Slice is producing wrong type “WritableDraft when using extraReducer
I typed data and error for my initial state as MednannyAppointments[] and AppApiError. When hovering over state.error or state.data in my extraReducer calls the type is always WritableDraft. I don’t understand where that comes from.