UNPKG

afacinemas

Version:

> A web scraper library for [AFA Cinemas](http://www.afacinemas.com.br/)

11 lines (10 loc) 341 B
import { AxiosInstance } from 'axios'; export interface IHttpClient { get: <T>(url: string) => Promise<T>; } export declare class HttpClient implements IHttpClient { private readonly httpClient; constructor(httpClient: AxiosInstance); get<T = unknown>(url: string): Promise<T>; } export declare const httpClient: HttpClient;