From f609e8a9dfbeb2f7717a5ddf5b1372fa9b38e765 Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Mon, 4 Oct 2021 11:48:24 +0100 Subject: [PATCH] corrects exported type which got out of sync with core.js file (#307) corrects exported type from #296 --- src/module.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module.d.ts b/src/module.d.ts index d8f4568ba..b7d20fefa 100644 --- a/src/module.d.ts +++ b/src/module.d.ts @@ -594,7 +594,7 @@ declare namespace posthog { respect_dnt?: boolean property_blacklist?: string[] xhr_headers?: { [header_name: string]: string } - onXHRError?: (failedRequest: XMLHttpRequest) => void + on_xhr_error?: (failedRequest: XMLHttpRequest) => void inapp_protocol?: string inapp_link_new_window?: boolean request_batching?: boolean