Skip to content

TypeScript Error: An import path cannot end with a '.ts' extension #871

Closed
@M6stafa

Description

@M6stafa

When i run npm run serve program run and work correctly but in terminal i see these error from typescript:
image

if i delete the extension, the linter show these errors:
image

the .eslintrc:
image

the template created with @vue/cli@3.0.0-beta.1.
I test with typescript 2.6.2 too but got same error.

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