Skip to content

Commit 8c53125

Browse files
authored
Merge pull request #22 from kwhitaker/feature/export-ts-interfaces
Feature/export ts interfaces
2 parents 486061b + 96bdd09 commit 8c53125

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

types.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { AxiosRequestConfig, AxiosResponse, AxiosInstance } from 'axios';
22

3-
interface IParams {
3+
export interface IParams {
44
axios?: AxiosInstance;
55
url: string;
66
method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'PATCH';
@@ -14,13 +14,13 @@ interface IParams {
1414
customHandler?: (error: null | Error, response: null | AxiosResponse) => void;
1515
}
1616

17-
interface IResponseStatus {
17+
export interface IResponseStatus {
1818
response: null | AxiosResponse;
1919
error: null | Error;
2020
loading: boolean;
2121
}
2222

23-
interface IReturns extends IResponseStatus {
23+
export interface IReturns extends IResponseStatus {
2424
/**
2525
* @deprecated Alias of `reFetch`
2626
*/

0 commit comments

Comments
 (0)