Skip to content
This repository was archived by the owner on Jan 23, 2022. It is now read-only.

Issue with TypeScript #18

@mehran-naghizadeh

Description

@mehran-naghizadeh

I've run vue add element-plus on a fresh vue3 + TypeScript app. Now, trying to run yarn serve, I get

ERROR in src/main.ts:6:32
TS7016: Could not find a declaration file for module './plugins/element'. '/Users/mehran/Documents/metras/frontend/metras-vue3/src/plugins/element.js' implicitly has an 'any' type.
...
6 | import installElementPlus from './plugins/element';
...

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