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.
2 parents 486061b + 96bdd09 commit 8c53125Copy full SHA for 8c53125
types.d.ts
@@ -1,6 +1,6 @@
1
import { AxiosRequestConfig, AxiosResponse, AxiosInstance } from 'axios';
2
3
-interface IParams {
+export interface IParams {
4
axios?: AxiosInstance;
5
url: string;
6
method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'PATCH';
@@ -14,13 +14,13 @@ interface IParams {
14
customHandler?: (error: null | Error, response: null | AxiosResponse) => void;
15
}
16
17
-interface IResponseStatus {
+export interface IResponseStatus {
18
response: null | AxiosResponse;
19
error: null | Error;
20
loading: boolean;
21
22
23
-interface IReturns extends IResponseStatus {
+export interface IReturns extends IResponseStatus {
24
/**
25
* @deprecated Alias of `reFetch`
26
*/
0 commit comments