diff --git a/src/types/global.d.ts b/src/types/global.d.ts index 9c760655..1d634f24 100644 --- a/src/types/global.d.ts +++ b/src/types/global.d.ts @@ -1,7 +1,9 @@ import { PlayerConfig } from "@/utils/Interfaces"; -interface Window { - GA_INITIALIZED: boolean; +declare global { + interface Window { + GA_INITIALIZED: boolean; + } } declare namespace JSX {