Skip to content

Commit 6b6d015

Browse files
committed
🏷️ Update ValidateSliceCaseReducer type
- Update type to account for TS version changes See microsoft/TypeScript#49307 (comment)
1 parent 30e0238 commit 6b6d015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/createSlice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export type ValidateSliceCaseReducers<
228228
S,
229229
ACR extends SliceCaseReducers<S>
230230
> = ACR & {
231-
[T in keyof ACR]: ACR[T] extends {
231+
[T in (keyof ACR) & symbol]: ACR[T] extends {
232232
reducer(s: S, action?: infer A): any
233233
}
234234
? {

0 commit comments

Comments
 (0)