Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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