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 b5fa6a8 commit 24f644eCopy full SHA for 24f644e
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-fetch-hook",
3
- "version": "1.3.3",
+ "version": "1.3.4",
4
"description": "React fetch hook",
5
"main": "./dist/index.js",
6
"scripts": {
src/useFetch.js
@@ -13,10 +13,10 @@ export function useFetch<T>(
13
...RequestOptions,
14
formatter?: Response => Promise<T>,
15
preventCallFetch?: boolean,
16
- depends?: Array<boolean>
+ depends?: Array<mixed>
17
},
18
specialOptions?: {
19
20
}
21
): TUseFetchResult<T> {
22
const defaultFormatter = response => {
0 commit comments