You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello all. I'm also hitting: property 'analytics' does not exist on type 'Window'. I also set the declare global { interface Window { analytics: any; } }. Any ideas? Thanks in advance!
@benjaminhoffman this doesn't work for me, and also causes another problem: 'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.
El tipo de archivo debe ser .d.ts para evitar el error de export.
@benjaminhoffman this doesn't work for me, and also causes another problem: 'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.
When running ng test I get the following error on all of my spec tests:
Property 'analytics' does not exist on type 'Window & typeof globalThis'.
This is strange as I did declare the analytics property as instructed?
declare global { interface Window { analytics: any; } }
The text was updated successfully, but these errors were encountered: