From 2c0116e67b23a66d096b5b13c317fe7d6ae925f8 Mon Sep 17 00:00:00 2001 From: Michael Zetterberg Date: Tue, 30 Jul 2024 15:44:33 +0200 Subject: [PATCH] fix: stricter types for adobeDataLayer --- types/window.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/window.d.ts b/types/window.d.ts index 9480a78ce..6414b3805 100644 --- a/types/window.d.ts +++ b/types/window.d.ts @@ -1,6 +1,8 @@ interface Window { datalayer: { [key: string]: any } - adobeDataLayer: any[] + adobeDataLayer: { + push: (...args: unknown) => void + } _satellite: { cookie: { get: (s: string) => string } } adobe: { OptInCategories: { ANALYTICS: string }