diff --git a/packages/toolkit/src/createSlice.ts b/packages/toolkit/src/createSlice.ts index 341929b15a..a91178188a 100644 --- a/packages/toolkit/src/createSlice.ts +++ b/packages/toolkit/src/createSlice.ts @@ -228,7 +228,7 @@ export type ValidateSliceCaseReducers< S, ACR extends SliceCaseReducers > = ACR & { - [T in keyof ACR]: ACR[T] extends { + [T in (keyof ACR) & symbol]: ACR[T] extends { reducer(s: S, action?: infer A): any } ? {