From 9389bdd1a3f69e20b18723770533eb2ad690329e Mon Sep 17 00:00:00 2001 From: Robbie Coomber Date: Mon, 6 Nov 2023 22:28:22 +0000 Subject: [PATCH] Help kea typegen out --- frontend/src/scenes/web-analytics/webAnalyticsLogic.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/scenes/web-analytics/webAnalyticsLogic.ts b/frontend/src/scenes/web-analytics/webAnalyticsLogic.ts index 821c8e1d589aa..15ccd6e48ffeb 100644 --- a/frontend/src/scenes/web-analytics/webAnalyticsLogic.ts +++ b/frontend/src/scenes/web-analytics/webAnalyticsLogic.ts @@ -69,7 +69,11 @@ export const webAnalyticsLogic = kea([ connect({}), actions({ setWebAnalyticsFilters: (webAnalyticsFilters: WebAnalyticsPropertyFilters) => ({ webAnalyticsFilters }), - togglePropertyFilter: (type: WebAnalyticsPropertyFilter['type'], key: string, value: string | number) => ({ + togglePropertyFilter: ( + type: PropertyFilterType.Event | PropertyFilterType.Person, + key: string, + value: string | number + ) => ({ type, key, value,