Skip to content

Type declaration not found #21

@deasems

Description

@deasems

Importing this package in a typescript project results in the error:

Could not find a declaration file for module 'web-vitals'. '/node_modules/web-vitals/dist/web-vitals.min.js' implicitly has an 'any' type.
Try npm install @types/web-vitals if it exists or add a new declaration (.d.ts) file containing declare module 'web-vitals';ts(7016)

I see the lib is written in typescript so I'm assuming this is a misconfiguration of the build, not that types are hosted in an types package

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