From 2da0d17dfcfa4e829dd7552949793bd92aae037c Mon Sep 17 00:00:00 2001 From: Ben White Date: Mon, 27 Nov 2023 12:37:26 +0100 Subject: [PATCH] Add deprecation notice for disable_cookie (#912) --- src/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.ts b/src/types.ts index e682c145e..0339727a1 100644 --- a/src/types.ts +++ b/src/types.ts @@ -83,6 +83,7 @@ export interface PostHogConfig { upgrade: boolean disable_session_recording: boolean disable_persistence: boolean + /** @deprecated - use `disable_persistence` instead */ disable_cookie: boolean enable_recording_console_log?: boolean secure_cookie: boolean