Skip to content

Property 'analytics' does not exist on type 'Window & typeof globalThis'. #4

Open
@Carl-Meyer

Description

@Carl-Meyer

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; } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions