We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 038f3da commit e108281Copy full SHA for e108281
infinite/index.ts
@@ -272,10 +272,17 @@ export const infinite = (<Data, Error>(useSWRNext: SWRHook) =>
272
}) as unknown as Middleware
273
274
export default withMiddleware(useSWR, infinite) as SWRInfiniteHook
275
+
276
export {
277
SWRInfiniteConfiguration,
278
SWRInfiniteResponse,
279
SWRInfiniteHook,
280
SWRInfiniteKeyLoader,
281
SWRInfiniteFetcher
282
}
283
284
+// @TODO: remove this in 2.0
285
+/**
286
+ * @deprecated `InfiniteFetcher` will be renamed to `SWRInfiniteFetcher`.
287
+ */
288
+export type InfiniteFetcher = SWRInfiniteFetcher
0 commit comments