hypnagaga/src/globals.d.ts
2024-01-05 11:33:52 +00:00

25 lines
581 B
TypeScript

interface ChartbeatConfig {
uid?: number;
domain?: string;
flickerControl?: boolean;
useCanonical?: boolean;
useCanonicalDomain?: boolean;
sections?: string;
authors?: string;
}
declare global {
// eslint-disable-next-line no-unused-vars
interface Window {
/** Google analytics dataLayer */
dataLayer: Record<string, any>,
/** Chartbeat config */
_sf_async_config: ChartbeatConfig,
/** Chartbeat method */
pSUPERFLY: (config: { path: string, title: string }) => void,
/** Graphics ads */
graphicsAdQueue: any[],
}
}
export {};