react-fetch-hook
Advanced tools
Comparing version 1.6.3 to 1.6.4
{ | ||
"name": "react-fetch-hook", | ||
"version": "1.6.3", | ||
"version": "1.6.4", | ||
"description": "React fetch hook", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -184,3 +184,4 @@ # react-fetch-hook | ||
request: (params: { limit: number, offset: number }) => Promise<Array<T>>, | ||
limit: number | ||
limit: number, | ||
...depends: Array<any> | ||
): { | ||
@@ -187,0 +188,0 @@ data: Array<T>, |
@@ -8,3 +8,3 @@ declare namespace usePaginatedRequest { | ||
declare function usePaginatedRequest<T>(request: usePaginatedRequest.requestFunction<T>, limit: number): { | ||
declare function usePaginatedRequest<T>(request: usePaginatedRequest.requestFunction<T>, limit: number, ...depends: Array<any>): { | ||
data: Array<T>, | ||
@@ -11,0 +11,0 @@ loadMore?: () => any, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14394
198