UNPKG

bugsplat

Version:
22 lines (21 loc) 749 B
import { BugSplatOptions } from "./bugsplat-options"; import { BugSplatResponse } from "./bugsplat-response"; export declare class BugSplat { private _database; private _appName; private _appVersion; private _fetch; private _formData; private _appKey; private _description; private _email; private _user; constructor(_database: string, _appName: string, _appVersion: string); post(errorToPost: Error, options?: BugSplatOptions): Promise<BugSplatResponse>; setDefaultAppKey(appKey: string): void; setDefaultDescription(description: string): void; setDefaultEmail(email: string): void; setDefaultUser(user: string): void; private _createReturnValue; private _tryParseResponseJson; }