hypnagaga/src/globals.d.ts
2024-10-24 12:45:55 +01:00

35 lines
792 B
TypeScript

/* eslint-disable @typescript-eslint/no-explicit-any */
interface ChartbeatConfig {
uid?: number;
domain?: string;
flickerControl?: boolean;
useCanonical?: boolean;
useCanonicalDomain?: boolean;
sections?: string;
authors?: string;
}
declare global {
interface Window {
/** Google analytics dataLayer */
dataLayer: Record<string, any>;
/** Chartbeat config */
_sf_async_config: ChartbeatConfig;
/** Chartbeat method */
pSUPERFLY: {
virtualPage: (config: { path: string; title: string }) => void;
};
/** Graphics ads */
graphicsAdQueue: any[];
/** Parsely */
PARSELY: {
onLoad: () => void;
beacon: {
trackPageView: () => void;
};
updateDefaults: (params: any) => void;
};
}
}
export {};