Skip to content

Commit 43cfa8d

Browse files
authored
Merge pull request #6 from ylc395/fix/on-done
fix: onDone type fix
2 parents 204db2a + 5f0fd22 commit 43cfa8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mobx-inifinite-query.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export interface MobxInfiniteQueryConfig<
111111
*/
112112
disposer?: IDisposer;
113113
abortSignal?: AbortSignal;
114-
onDone?: (data: InfiniteData<TData>, payload: void) => void;
114+
onDone?: (data: InfiniteData<TData, TPageParam>, payload: void) => void;
115115
onError?: (error: TError, payload: void) => void;
116116
/**
117117
* Dynamic query parameters, when result of this function changed query will be updated

0 commit comments

Comments
 (0)