UNPKG

posthog-js

Version:

Posthog-js allows you to automatically capture usage and send events to PostHog.

9 lines • 535 B
import { ErrorTracking } from "@posthog/core"; //#region lib/src/entrypoints/exception-autocapture.d.ts declare const posthogErrorWrappingFunctions: { wrapOnError: (captureFn: (props: ErrorTracking.ErrorProperties) => void) => () => void; wrapUnhandledRejection: (captureFn: (props: ErrorTracking.ErrorProperties) => void, defaultReturnValue?: boolean) => () => void; wrapConsoleError: (captureFn: (props: ErrorTracking.ErrorProperties) => void) => () => void; }; //#endregion export { posthogErrorWrappingFunctions as default };