@capimjs/library-auth
Version:
Professional API using Clean Architecture and TDD. to group validators
10 lines (9 loc) • 541 B
TypeScript
import { HttpDeleteClient, HttpGetClient, HttpPostClient, HttpPutClient } from '../../infra/gateways/client';
type Input = HttpGetClient.Input;
export declare class AxiosHttpClient implements HttpGetClient, HttpPostClient, HttpPutClient, HttpDeleteClient {
get({ url, params, config }: Input): Promise<any>;
post({ url, params, config }: HttpPostClient.Input): Promise<any>;
put({ url, params, config }: HttpPostClient.Input): Promise<any>;
delete({ url, params, config }: HttpDeleteClient.Input): Promise<any>;
}
export {};