mirror of
https://github.com/simoneb/axios-hooks.git
synced 2025-12-08 21:25:56 +00:00
Add missing typing parameter
This commit is contained in:
parent
ac24fb01ee
commit
2f4f95ded1
7
index.d.ts
vendored
7
index.d.ts
vendored
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user