From 46bdd9563541cf83fe65bf4f3e86a17e0e8d266d Mon Sep 17 00:00:00 2001 From: Hyeonsu Kim <86764406+borimong@users.noreply.github.com> Date: Mon, 3 Feb 2025 20:48:36 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=95=84=EC=9A=94=EC=97=86=EB=8A=94=20?= =?UTF-8?q?any=20=EC=A7=80=EC=9A=B0=EA=B8=B0=20(#1001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/gtm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/gtm.ts b/src/utils/gtm.ts index 75a5e036e..613e568cd 100644 --- a/src/utils/gtm.ts +++ b/src/utils/gtm.ts @@ -2,7 +2,7 @@ const dataLayer = typeof window === 'undefined' ? undefined : // eslint-disable-next-line @typescript-eslint/no-explicit-any - (window as any).dataLayer; + (window as typeof window & { dataLayer?: { event: string; page: string }[] }).dataLayer; export const GTM_ID = process.env.NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID;