UNPKG

posthog-node

Version:
4 lines 419 B
import { ErrorTracking as CoreErrorTracking } from '@posthog/core'; export declare function addUncaughtExceptionListener(captureFn: (exception: Error, hint: CoreErrorTracking.EventHint) => void, onFatalFn: (exception: Error) => void): void; export declare function addUnhandledRejectionListener(captureFn: (exception: unknown, hint: CoreErrorTracking.EventHint) => void): void; //# sourceMappingURL=autocapture.d.ts.map