import {of,BehaviorSubject} from 'rxjs'
import {ajax} from "rxjs/ajax"
import { map , catchError } from 'rxjs/operators'

import axios,{ AxiosRequestConfig,AxiosInstance,AxiosPromise } from 'axios';


// export const baseURL = import.meta.env.VITE_FETCH_URL
// export const axiosRequestConfiguration: AxiosRequestConfig = {
//     baseURL,
//     responseType: 'json',
//     headers: {
//         'Content-Type': 'application/json',
//     },
// };

// export const axiosInstance:AxiosInstance = (options?: AxiosRequestConfig)=> initialization(Object.assign(axiosRequestConfiguration,options))(options?options:{})



