Add missing typing parameter

This commit is contained in:
Ben Smith 2019-07-16 12:47:24 +01:00
parent ac24fb01ee
commit 2f4f95ded1

7
index.d.ts vendored
View File

@ -6,6 +6,11 @@ interface ResponseValues {
error?: AxiosError;
}
interface Options {
manual: boolean
}
export default function useAxios(
config: AxiosRequestConfig | string
config: AxiosRequestConfig | string,
options?: Options
): [ResponseValues, () => void]