Skip to content

module analysis only works for relative imports #47

Open

Description

@michaelangeloio

Currently, we are only resolving relative imports:

fn get_relative_imports(import_sources: Vec<String>) -> Vec<String> {

It would be nice to perform the same analysis in Typescript alias paths. I am not sure about node_modules, but I am open to ideas.

Activity

  1. boian-ivanov commented on Jan 2, 2024

    @boian-ivanov

    This would be godsend, as most of the projects I work with are using aliases, so even if they're not read from the tsconfig.json, but manually added it would be a huge boost of understanding if an imported method throws 🎉

  2. djolejov commented on Feb 21, 2024

    @djolejov

    Yes! I second this, aliases are always used in projects I work with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions