Skip to content

Type error import Analytics from '@vercel/analytics/astro'; #169

@nicojs

Description

@nicojs

I get a TS TypeError when importing from '@vercel/analytics/astro':

Image

It's similar to #159, but they're referring to it being solved in @vercel/analytics@1.4, while @vercel/analytics@1.5 is currently out, and I still have this issue.

The current workaround is to use // @ts-expect-error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions