Skip to content

Could not find a declaration file for module 'vue-clamp' #43

@nc-csl

Description

@nc-csl

I get this error when trying to import (import VClamp from 'vue-clamp';)

TS7016: Could not find a declaration file for module 'vue-clamp'. 'C:/Users/csl/Documents/Arbejde/ERST/erst/virksomhedsguiden/frontend-components/node_modules/vue-clamp/dist/vue-clamp.js' implicitly has an 'any' type.   Try npm install @types/vue-clamp if it exists or add a new declaration (.d.ts) file containing declare module 'vue-clamp';

I have added transpileDependencies: ['vue-clamp', 'resize-detector'] to my vue.config.js.

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