Skip to content

Commit 3f78f9d

Browse files
committed
Update createAsyncThunk.ts
1 parent f7a8282 commit 3f78f9d

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
@@ -708,7 +708,7 @@ If you want to use the AbortController to react to \`abort\` events, please cons
708708
}
709709
)
710710
}
711-
createAsyncThunk.withTypes = createAsyncThunk as unknown
711+
createAsyncThunk.withTypes = () => createAsyncThunk
712712

713713
return createAsyncThunk as CreateAsyncThunk<AsyncThunkConfig>
714714
})()

0 commit comments

Comments
 (0)