asaas
Version:
Unofficial Asaas Payment Gateway SDK
9 lines (8 loc) • 342 B
TypeScript
import { AxiosInstance } from 'axios';
import { APIOptions } from '../types/AsaasTypes';
export declare class BaseAPI {
protected apiClient: AxiosInstance;
protected printError: boolean;
constructor(apiClient: AxiosInstance, options?: APIOptions);
protected handleError(error: Error | unknown, errorMessage: string): never;
}