import axios , { AxiosRequestConfig , AxiosResponse } from 'axios' ; export const request = ( options ) : Promise < any > => { return axios ( options ) ; } ; export const dataResolver = ( res ) : any => { return res && res . data ; } ;