Skip to content

Import  #22

@GeraudBertrand

Description

@GeraudBertrand

Hello, i am working on a Vue project, where i use a image map. I follow the command to install and when i do a
import ImageMap from 'image-map', i receive this message :

Could not find a declaration file for module 'image-map'. 'C:/Users/gerau/OneDrive/Bureau/Stage_LMD_DUT_Informatique/FRONTEND/front_end/node_modules/image-map/dist/image-map.js' implicitly has an 'any' type.

I did test to install @types/image-map and it couldn't be found:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2fimage-map - Not found
npm ERR! 404 '@types/image-map@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Someone know how I could resolve my problem ?

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