@airbrake/browser
Version:
Official Airbrake notifier for browsers
16 lines • 368 B
TypeScript
export interface IHttpRequest {
method: string;
url: string;
body?: string;
timeout?: number;
headers?: any;
}
export interface IHttpResponse {
json: any;
}
export type Requester = (req: IHttpRequest) => Promise<IHttpResponse>;
export declare let errors: {
unauthorized: Error;
ipRateLimited: Error;
};
//# sourceMappingURL=api.d.ts.map