We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbfe755 commit 7c3c162Copy full SHA for 7c3c162
1 file changed
src/lib/seam/connect/client.ts
@@ -1,9 +1,9 @@
1
-import axios, { type Axios, type AxiosRequestConfig } from 'axios'
+import axios, { type AxiosInstance, type AxiosRequestConfig } from 'axios'
2
import axiosRetry, { type AxiosRetry, exponentialDelay } from 'axios-retry'
3
4
import { paramsSerializer } from 'lib/params-serializer.js'
5
6
-export type Client = Axios
+export type Client = AxiosInstance
7
8
export interface ClientOptions {
9
axiosOptions?: AxiosRequestConfig
@@ -13,7 +13,7 @@ export interface ClientOptions {
13
14
type AxiosRetryConfig = Parameters<AxiosRetry>[1]
15
16
-export const createClient = (options: ClientOptions): Axios => {
+export const createClient = (options: ClientOptions): AxiosInstance => {
17
if (options.client != null) return options.client
18
19
const client = axios.create({
0 commit comments