Skip to content

Commit

Permalink
fix(types): add setBaseURL (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza authored Jan 30, 2020
1 parent 623ac7b commit 9d00d6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ interface NuxtAxiosInstance extends AxiosStatic {
$put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>
$patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>

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

Expand Down

0 comments on commit 9d00d6a

Please sign in to comment.