Skip to content
Permalink
Browse files
fix(types): add setBaseURL (#329)
  • Loading branch information
ricardogobbosouza committed Jan 30, 2020
1 parent 623ac7b commit 9d00d6a9b5e21396d3b195f824dd2cfe99ca9012
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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

0 comments on commit 9d00d6a

Please sign in to comment.