Skip to content

Commit

Permalink
feat(useAxios): add second generic type to error (#2248)
Browse files Browse the repository at this point in the history
  • Loading branch information
azaleta committed Sep 24, 2022
1 parent d029fda commit c8c38a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/useAxios/index.ts
Expand Up @@ -33,7 +33,7 @@ export interface UseAxiosReturn<T, D> {
/**
* Any errors that may have occurred
*/
error: ShallowRef<AxiosError<T> | undefined>
error: ShallowRef<AxiosError<T, D> | undefined>

/**
* Aborts the current request
Expand Down

0 comments on commit c8c38a5

Please sign in to comment.