Skip to content

Commit

Permalink
Change type of gtag to any
Browse files Browse the repository at this point in the history
We probably shouldn't be doing this but its a fix thatll work for now.

Signed-off-by: Maxwell Henderson <mxwhenderson@gmail.com>
  • Loading branch information
maxstrid committed Mar 18, 2024
1 parent b148ea0 commit ef5cfdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/components/Analytics.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
) {
window.dataLayer = window.dataLayer || [];
const gtag: Gtag.Gtag = function () {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const gtag: any = function () {
window.dataLayer.push(arguments);
};
Expand Down

0 comments on commit ef5cfdc

Please sign in to comment.