Skip to content

Commit 23292c5

Browse files
committed
Fix "running thunks" types from returning undefined
1 parent 4c32e29 commit 23292c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/toolkit/src/query/core/module.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ export type CoreModule =
7171
| ReferenceQueryLifecycle
7272
| ReferenceCacheCollection
7373

74-
interface ThunkWithReturnValue<T>
75-
extends ThunkAction<T | undefined, any, any, AnyAction> {}
74+
interface ThunkWithReturnValue<T> extends ThunkAction<T, any, any, AnyAction> {}
7675

7776
declare module '../apiTypes' {
7877
export interface ApiModules<

0 commit comments

Comments
 (0)