修复ts类型错误

This commit is contained in:
537yaha
2026-01-05 13:03:30 +08:00
parent d658eb88cf
commit a6929dbee0
+7
View File
@@ -2,6 +2,13 @@
import { useEffect } from 'react';
// 扩展 Window 接口以支持 Matomo Tag Manager
declare global {
interface Window {
_mtm?: Array<any>;
}
}
interface MatomoTrackerProps {
containerUrl?: string;
}