Skip to content

Commit bb640f8

Browse files
committed
Try fixing createAsyncThunk issues with TS 4.8
1 parent 67b6ed2 commit bb640f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/createAsyncThunk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ type OverrideThunkApiConfigs<OldConfig, NewConfig> = Id<
420420
NewConfig & Omit<OldConfig, keyof NewConfig>
421421
>
422422

423-
type CreateAsyncThunk<CurriedThunkApiConfig> = {
423+
type CreateAsyncThunk<CurriedThunkApiConfig extends AsyncThunkConfig> = {
424424
/**
425425
*
426426
* @param typePrefix

0 commit comments

Comments
 (0)