Skip to content

Commit 8af2b00

Browse files
committed
cast harder
1 parent 01feaae commit 8af2b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/tests/createSlice.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ describe('type tests', () => {
10171017
}
10181018
}
10191019
Object.assign(openToast, { toastOpened, toastClosed })
1020-
;(context as ReducerHandlingContextMethods<ToastState>)
1020+
;(context as any as ReducerHandlingContextMethods<ToastState>)
10211021
.addCase(toastOpened, (state, { payload: { message, id } }) => {
10221022
state.toasts[id] = { message }
10231023
})

0 commit comments

Comments
 (0)