Skip to content

[v2.0.0] Could not find a declaration file for module 'geostats'. #59

@JeomJeom

Description

@JeomJeom

Describe the bug

I intend to use geostats in typescript file, but i got this error message: Could not find a declaration file for module 'geostats'... when importing it.

This is the full message showing on my Webstorm:

TS7016: Could not find a declaration file for module 'geostats'. '.../node_modules/geostats/lib/geostats.min.js' implicitly has an 'any' type.   Try npm i --save-dev @types/geostats if it exists or add a new declaration (.d.ts) file containing declare module 'geostats';

I've tried to run npm i --save-dev @types/geostats, but @types/geostats doesn't exist. Could anyone help me on this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions