Skip to content

Commit

Permalink
feat: 필요없는 any 지우기 (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
borimong authored Feb 3, 2025
1 parent 85cc048 commit 46bdd95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/gtm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 46bdd95

Please sign in to comment.