TYPESCRIPT wc.d.ts
export type WC = Record< string, unknown > & {
wcSettings: Record< string, unknown > & {
WC_VERSION: string;
};
tracks?: {
recordEvent: (
eventName: string,
eventProperties?: Record< string, unknown >
) => void;
};
};