import {ERROR_MSG} from '../common/config/error.config'; import {AXIOS} from '../common/config/env.config'; import {AxiosService} from './axios.service'; export class AccountAxiosService extends AxiosService { static get Instance(): AccountAxiosService { return AccountAxiosService.instance; } private static instance: any = new AccountAxiosService(); constructor() { if (AccountAxiosService.instance) { throw new Error(ERROR_MSG.DONT_INSTANTIATION); } super(AXIOS.ACCOUNT_BASE_URL); AccountAxiosService.instance = this; } }