Property 'X' does not exist on type 'Window & typeof globalThis'
window.umami
would be now typescript error free :)
declare global { interface Window { umami: any; } }
window.umami
would be now typescript error free :)
declare global { interface Window { umami: any; } }