Skip to content

Commit 9d00d6a

Browse files
fix(types): add setBaseURL (#329)
1 parent 623ac7b commit 9d00d6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: types/index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ interface NuxtAxiosInstance extends AxiosStatic {
1212
$put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>
1313
$patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>
1414

15+
setBaseURL(baseURL: string): void
1516
setHeader(name: string, value?: string | false, scopes?: string | string[]): void
1617
setToken(token: string | false, type?: string, scopes?: string | string[]): void
1718

0 commit comments

Comments
 (0)