UNPKG

458 BTypeScriptView Raw
1import type { HandlerDataUnhandledRejection } from '@sentry/types';
2/**
3 * Add an instrumentation handler for when an unhandled promise rejection is captured.
4 *
5 * Use at your own risk, this might break without changelog notice, only used internally.
6 * @hidden
7 */
8export declare function addGlobalUnhandledRejectionInstrumentationHandler(handler: (data: HandlerDataUnhandledRejection) => void): void;
9//# sourceMappingURL=globalUnhandledRejection.d.ts.map
\No newline at end of file