Skip to content

Commit 62f17ca

Browse files
authored
fix(types): add missing type for create() (#475)
1 parent a61b82b commit 62f17ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ interface NuxtAxiosInstance extends AxiosStatic {
2222
onError(callback: (error: AxiosError) => void): void
2323
onRequestError(callback: (error: AxiosError) => void): void
2424
onResponseError(callback: (error: AxiosError) => void): void
25+
26+
create(options?: AxiosRequestConfig): NuxtAxiosInstance
2527
}
2628

2729
interface AxiosOptions {

0 commit comments

Comments
 (0)