woocommerce/packages/js/tracks/typings/global.d.ts

18 lines
294 B
TypeScript
Raw Normal View History

2022-05-10 07:11:10 +00:00
declare global {
interface Window {
wcTracks: {
isEnabled: boolean;
recordEvent: (
name: string,
properties: unknown,
) => void;
};
_tkq: {
[key: string]: number;
}
}
}
/*~ If your module exports nothing, you'll need this line. Otherwise, delete it */
export {};