import HttpClient , { HttpClientConfig } from '../src/index' ; const config = { baseURL : 'http://flash-admin.enilu.cn/prod-api' , headers : { token : '' , } , } ; const https = new HttpClient ( config ) ; https . httpClient . interceptors . request . use ( function ( config ) { return config ; } , function ( error ) { return Promise . reject ( error ) ; } ) ; https . httpClient . interceptors . response . use ( function ( response ) { return response ; } , function ( error ) { return Promise . reject ( error ) ; } ) ; export default https ;