Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Brainstorming] Reduce false-negative rate of type-based reference search #70

Open
LinqLover opened this issue Jun 23, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@LinqLover
Copy link
Owner

The following approaches could help to improve the false-negative rate of reported references:

Syntax

  • Add support for dynamic import statements (import(moduleName))
  • Provide simple type definitions for common interop requires

Data

  • Automatically fetch type definitions and pass them to tsc for the package of interest, and maybe also all dependents (if feasible). This could help us trace types that are passed through third-library frameworks.

Before implementing any of them, estimate the rough popularity of these cases and check whether it's worth it.

@LinqLover LinqLover added the enhancement New feature or request label Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant