import { iccUserApi } from "../icc-api/api/iccUserApi" import { XHR } from "../icc-api/api/XHR" import * as models from "../icc-api/model/models" export class IccUserXApi extends iccUserApi { fetchImpl: (input: RequestInfo, init?: RequestInit) => Promise constructor( host: string, headers: { [key: string]: string }, fetchImpl: (input: RequestInfo, init?: RequestInit) => Promise = typeof window !== "undefined" ? window.fetch : (self.fetch as any) ) { super(host, headers, fetchImpl) this.fetchImpl = fetchImpl } }