UNPKG

posthog-js

Version:

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

8 lines (7 loc) • 499 B
import { SessionIdManager } from '../sessionid'; import type { TracingHeadersDistinctId, TracingHeadersHostnames } from '../extensions/tracing-headers-types'; declare const patchFns: { _patchFetch: (hostnames: TracingHeadersHostnames, distinctId: TracingHeadersDistinctId, sessionManager?: SessionIdManager) => (() => void); _patchXHR: (hostnames: TracingHeadersHostnames, distinctId: TracingHeadersDistinctId, sessionManager?: SessionIdManager) => (() => void); }; export default patchFns;