mirror of
https://github.com/2930134478/AI-CS.git
synced 2026-06-15 00:44:30 +08:00
修复ts类型错误
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
|
||||
import { useEffect } from 'react';
|
||||
|
||||
// 扩展 Window 接口以支持 Matomo Tag Manager
|
||||
declare global {
|
||||
interface Window {
|
||||
_mtm?: Array<any>;
|
||||
}
|
||||
}
|
||||
|
||||
interface MatomoTrackerProps {
|
||||
containerUrl?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user