We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
setBaseURL
1 parent 623ac7b commit 9d00d6aCopy full SHA for 9d00d6a
types/index.d.ts
@@ -12,6 +12,7 @@ interface NuxtAxiosInstance extends AxiosStatic {
12
$put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>
13
$patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>
14
15
+ setBaseURL(baseURL: string): void
16
setHeader(name: string, value?: string | false, scopes?: string | string[]): void
17
setToken(token: string | false, type?: string, scopes?: string | string[]): void
18
0 commit comments