Skip to content

TS <--> JS imports resolution #31

@mhaidamashko

Description

@mhaidamashko

Hi, thank you for your hard work and a cool extension.
I saw in the code you have a check that both files should be the same extension type.
But I have a huge legacy project that supports js/ts files and files there share the same import names. (so we're safe to copy those imports)

Is it possible to add a property to the extension that will allow us get imports between ts and js?
I guess we just need to pass the property and skip that condition?

if (!bothTs && !bothJs) {

Thank you.

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