UNPKG

@webeleon/npm-package-starter-typescript

Version:
7 lines (6 loc) 269 B
export declare class HTTPRequester { private readonly apiURL; constructor(apiURL?: string); get<ReturnType, QueryParams = any>(path: any, query: QueryParams): Promise<ReturnType>; request<ReturnType>(url: string, method: string): Promise<ReturnType>; }