instabug-reactnative
Version:
React Native plugin for integrating the Instabug SDK
12 lines (10 loc) • 382 B
TypeScript
declare module 'promise/setimmediate/rejection-tracking' {
export interface RejectionTrackingOptions {
allRejections?: boolean;
whitelist?: Function[];
onUnhandled?: (id: number, error: unknown) => void;
onHandled?: (id: number, error: unknown) => void;
}
export function enable(options?: RejectionTrackingOptions): void;
export function disable(): void;
}