UNPKG

@squareboat/nest-eyewitness

Version:

A simple easy-to-use package to receive error reports directly to your inbox whenever any exception is witnessed 👀 in your NestJS application.

18 lines (17 loc) • 553 B
import { HttpService } from "@nestjs/common"; export declare class CustomHttpService { private httpService; private static httpSerice; constructor(httpService: HttpService); static makeQueryParam: (payload: Record<string, any>) => string; static get(httpCallOptions: { url: string; payload: Record<string, any>; header: Record<string, any>; }): any; static post(httpCallOptions: { url: string; payload: Record<string, any> | string; header: Record<string, any>; }): any; }