Skip to content

Commit 141ea67

Browse files
authored
Merge branch 'main' into fix-tsconfig
2 parents 2d4f1a3 + 6442e24 commit 141ea67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infinite/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ export type SWRInfiniteFetcher<
1717
: never
1818
: never
1919

20-
export type SWRInfiniteKeyLoader = (
20+
export type SWRInfiniteKeyLoader<Data = any> = (
2121
index: number,
22-
previousPageData: any | null
22+
previousPageData: Data | null
2323
) => Arguments
2424

2525
export interface SWRInfiniteConfiguration<

0 commit comments

Comments
 (0)