gdpr-consent
Version:
GDPR banner to comply with the European cookie law. Inspired by tarteaucitronjs.
18 lines (17 loc) • 508 B
TypeScript
import { ServiceLoader } from "../interfaces/index.js";
type FacebookPixelFunctionType = (...args: unknown[]) => unknown;
type FacebookPixelType = FacebookPixelFunctionType & {
push: FacebookPixelFunctionType;
callMethod: FacebookPixelFunctionType;
loaded: boolean;
version: string;
queue: Array<unknown[]>;
};
declare global {
interface Window {
_fbq?: FacebookPixelType;
fbq?: FacebookPixelType;
}
}
export declare const facebookpixel: ServiceLoader;
export {};