overcuriousity 47eb5ad72a progress
2025-07-14 15:15:57 +02:00

28 lines
657 B
TypeScript

/// <reference path="../.astro/types.d.ts" />
// Extend the Window interface to include custom properties
declare global {
interface Window {
themeUtils: {
initTheme: () => void;
toggleTheme: () => void;
getStoredTheme: () => string;
};
toolsData: any[];
showToolDetails: (toolName: string) => void;
hideToolDetails: () => void;
}
// Custom event types
interface WindowEventMap {
'toolsFiltered': CustomEvent<any[]>;
'viewChanged': CustomEvent<string>;
}
}
// Also declare the modules that might not be recognized
declare module 'js-yaml' {
export function load(str: string): any;
}
export {};