Skip to content

VS Community and TS: auto-import adds '.js' extension to the module name, while auto completion not  #35926

@AbuDawood

Description

@AbuDawood

visual studio 2019 community,
for the autocomplete during import the suggested modules are as expected (module name without extension), However, when typing ex. a class name and want to auto-import the incloser module it gets added with .js extension !! what's wrong

  • screenshot for autocomplete the import syntax
    image

  • screenshot for auto import suggestions
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions