Skip to content

Commit

Permalink
fix(types): add missing type for create() (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Feb 3, 2021
1 parent a61b82b commit 62f17ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ interface NuxtAxiosInstance extends AxiosStatic {
onError(callback: (error: AxiosError) => void): void
onRequestError(callback: (error: AxiosError) => void): void
onResponseError(callback: (error: AxiosError) => void): void

create(options?: AxiosRequestConfig): NuxtAxiosInstance
}

interface AxiosOptions {
Expand Down

0 comments on commit 62f17ca

Please sign in to comment.